{"version":3,"sources":["webpack:///./src/views/kyc-form/section/recommendations/TheClientDecision.vue?92ec","webpack:///./src/views/kyc-form/component/TheClientChoiceTable.vue?c153","webpack:///./@core/components/TheClientChoiceTR.vue?f598","webpack:///./@master/model/options/ClientChoiceOptions.ts","webpack:///./@core/components/TheClientChoiceTRMixin.ts","webpack:///./@core/components/TheClientChoiceTR.vue","webpack:///./@core/components/TheClientChoiceTR.vue?60ba","webpack:///./@core/components/TheClientChoiceTR.vue?c12e","webpack:///./@core/components/basicRecommendation/TheClientChoiceTableMixin.ts","webpack:///./src/views/kyc-form/component/TheClientChoiceTR.vue?2182","webpack:///./src/views/kyc-form/component/TheClientChoiceTR.vue","webpack:///./src/views/kyc-form/component/TheClientChoiceTR.vue?4d9d","webpack:///./src/views/kyc-form/component/TheClientChoiceTR.vue?5cc5","webpack:///./src/views/kyc-form/component/TheClientChoiceTableMixin.ts","webpack:///./src/views/kyc-form/component/TheClientChoiceTable.vue","webpack:///./src/views/kyc-form/component/TheClientChoiceTable.vue?c211","webpack:///./src/views/kyc-form/component/TheClientChoiceTable.vue?6bbd","webpack:///./src/views/kyc-form/section/recommendations/TheClientDecision.vue","webpack:///./src/views/kyc-form/section/recommendations/TheClientDecision.vue?f60e","webpack:///./src/views/kyc-form/section/recommendations/TheClientDecision.vue?2e5b","webpack:///./@core/components/TheClientChoiceTR.vue?3189","webpack:///./@master/services/DateTime.ts","webpack:///./src/views/kyc-form/component/TheClientChoiceTable.vue?ab95","webpack:///./@core/components/AppDateInput.vue?8236","webpack:///./@core/components/AppDateInput.vue","webpack:///./@core/components/AppDateInput.vue?22ab","webpack:///./@core/components/AppDateInput.vue?480f","webpack:///./src/views/kyc-form/component/TheClientChoiceTR.vue?2521","webpack:///./src/views/kyc-form/section/recommendations/TheClientDecision.vue?c91b"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","directives","name","rawName","value","clientDeclaration","expression","domProps","Array","isArray","clientDeclAcknowledgement","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","$set","concat","slice","_s","projectInfo","agentRepresentative","reviewDate","rcmds","nameList","kycForm","recommendations","rcmd","length","client2","personalDetails","_e","totalAnnualPremiumForClient1","totalAnnualPremiumForClient2","totalSinglePremiumForClient1","totalSinglePremiumForClient2","clientDisagreeWithRecommendation","_m","model","sharedBasisAttribute","callback","staticRenderFns","_l","product","productIndex","key","getClientName","getDisabledClientChoice","customClientChoiceOptions","trKey","combinedColumn","clientName","targetModel","productName","issuer","getDataTestId","shouldDisabledDateSelection","label","ClientChoiceOptions","accept","reject","ownchoice","kiv","keyName","options","disabledDateSelection","default","components","AppDateInput","component","ownerArray","clientIndex","jointClientIndex","push","uniqName","filter","data","join","RiderProduct","InvestmentProduct","includes","mainProductClientChoice","TheClientChoiceTR","kycFormStore","client1","annualPremium","totalAnnualizedPremiumForClient","toLocaleString","singlePremium","totalSinglePremiumForClient","recommendationBasis","flatProductWithInvestMainAccount","getLifeAssured","clientDecisionAgree","State","TheClientChoiceTable","DateTime","_date","timezone","date","Number","initService","res","tz","valueOf","Error","_time","extend","prototype","format","timeInServiceFormat","day","unix","amount","timeUnit","add","subtract","get","set","startOf","floatingValue","diff","toDate","utc","endOf","toCompareTime","isBefore","isAfter","isSame","inputType","minDate","maxDate","getDate","setDate","min","dateService","futureDate","Date","disabledFutureDate","e","dateString","validity","badInput","isInThePastOfDate","isValidDate","toString","time"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,SAAS,CAACN,EAAIO,GAAG,uBAAuBH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,SAAS,CAACA,EAAG,SAAS,CAACI,MAAM,CAAC,KAAO,IAAI,CAACJ,EAAG,QAAQ,CAACK,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAA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,gBAAzB,eAAK,CAAEA,SAAS,K,yCAGjB,gBADC,uB,kCAkBD,gBADC,eAAK,U,sBAcL,MAtCkB,EAAY,gBADhC,QACoB,WCZkX,I,YCOnYG,EAAY,eACd,EACAnF,EACAuD,GACA,EACA,KACA,KACA,MAIa,OAAA4B,E,2CClBf,W,kCCAA","file":"js/chunk-71afa0eb.379c09aa.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"title\"},[_vm._v(\"Client's Decision\")]),_c('div',{staticClass:\"form-body\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":1}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientDeclaration.clientDeclAcknowledgement),expression:\"clientDeclaration.clientDeclAcknowledgement\"}],attrs:{\"type\":\"checkbox\",\"id\":\"declaration\"},domProps:{\"checked\":Array.isArray(_vm.clientDeclaration.clientDeclAcknowledgement)?_vm._i(_vm.clientDeclaration.clientDeclAcknowledgement,null)>-1:(_vm.clientDeclaration.clientDeclAcknowledgement)},on:{\"change\":function($event){var $$a=_vm.clientDeclaration.clientDeclAcknowledgement,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.clientDeclaration, \"clientDeclAcknowledgement\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.clientDeclaration, \"clientDeclAcknowledgement\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.clientDeclaration, \"clientDeclAcknowledgement\", $$c)}}}})]),_c('el-col',{attrs:{\"span\":23}},[_c('label',{attrs:{\"for\":\"declaration\"}},[_c('p',[_vm._v(\" I/We understand that the above recommendation(s) is/are based on the facts furnished in the PFR form; and any incomplete or inaccurate information provided by me/us may affect the suitability of recommendations made. If I/We choose not to provide information requested or accept the \"+_vm._s(_vm.projectInfo.agentRepresentative)+\"’s recommendations, then it is my/our responsibility to ensure the suitability of product(s) selected. \")]),_c('p',[_vm._v(\" The \"+_vm._s(_vm.projectInfo.agentRepresentative)+\" has explained to me/us* in detail the recommendations made and I/we wish to proceed with the following product(s): \")])])])],1),_c('TheClientChoiceTable',{attrs:{\"reviewDate\":_vm.clientDeclaration.reviewDate,\"rcmds\":_vm.rcmds,\"nameList\":_vm.nameList}})],1),(_vm.kycForm.recommendations.rcmd && _vm.kycForm.recommendations.rcmd.length > 0)?_c('div',[_c('table',{staticClass:\"bordered\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Calculated Premium/ Amount\")]),_c('th',[_vm._v(\"Client 1\")]),(_vm.kycForm.client2.personalDetails.included)?_c('th',[_vm._v(\"Client 2\")]):_vm._e()])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\"Total Annualised Premium ($)\")]),_c('td',{staticClass:\"center-td\"},[_vm._v(_vm._s(_vm.totalAnnualPremiumForClient1))]),(_vm.kycForm.client2.personalDetails.included)?_c('td',{staticClass:\"center-td\"},[_vm._v(_vm._s(_vm.totalAnnualPremiumForClient2))]):_vm._e()]),_c('tr',[_c('td',[_vm._v(\"Total Single Premium ($)\")]),_c('td',{staticClass:\"center-td\"},[_vm._v(_vm._s(_vm.totalSinglePremiumForClient1))]),(_vm.kycForm.client2.personalDetails.included)?_c('td',{staticClass:\"center-td\"},[_vm._v(_vm._s(_vm.totalSinglePremiumForClient2))]):_vm._e()])])])]):_vm._e(),_c('div',{staticClass:\"form-body\"},[_c('div',{staticClass:\"section-body\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":1}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientDisagreeWithRecommendation),expression:\"clientDisagreeWithRecommendation\"}],attrs:{\"type\":\"checkbox\",\"id\":\"disagree\"},domProps:{\"checked\":Array.isArray(_vm.clientDisagreeWithRecommendation)?_vm._i(_vm.clientDisagreeWithRecommendation,null)>-1:(_vm.clientDisagreeWithRecommendation)},on:{\"change\":function($event){var $$a=_vm.clientDisagreeWithRecommendation,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.clientDisagreeWithRecommendation=$$a.concat([$$v]))}else{$$i>-1&&(_vm.clientDisagreeWithRecommendation=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.clientDisagreeWithRecommendation=$$c}}}})]),_c('el-col',{attrs:{\"span\":23}},[_c('label',{attrs:{\"for\":\"disagree\"}},[_vm._v(\"I/we do not agree/fully agree with the proposed recommendation(s) but would like to give specific instructions.\")])])],1),(_vm.clientDisagreeWithRecommendation)?_c('table',{staticClass:\"bordered\"},[_vm._m(0),_c('tbody',[_c('tr',[_c('td',[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":15},model:{value:(_vm.sharedBasisAttribute.recommendationDecision),callback:function ($$v) {_vm.$set(_vm.sharedBasisAttribute, \"recommendationDecision\", $$v)},expression:\"sharedBasisAttribute.recommendationDecision\"}})],1)])])]):_vm._e()],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Please elaborate\")])])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"title\"},[_vm._v(\"Client's Choice Product Details\")]),_c('table',{staticClass:\"bordered\"},[_vm._m(0),_c('tbody',[_vm._l((_vm.rcmds),function(product,productIndex){return [_c('TheClientChoiceTR',{key:'client_choice_' + productIndex,attrs:{\"combinedColumn\":true,\"trKey\":'client_choice_' + productIndex,\"clientName\":_vm.getClientName(product),\"targetModel\":product,\"reviewDate\":_vm.reviewDate,\"disabledDateSelection\":_vm.getDisabledClientChoice(product),\"options\":_vm.customClientChoiceOptions}})]})],2)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"3\",\"width\":\"70%\"}},[_vm._v(\"Product Recommendation\")]),_c('th',[_vm._v(\"Client Choice\")])])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{key:_vm.trKey},[(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.clientName),callback:function ($$v) {_vm.clientName=$$v},expression:\"clientName\"}})],1):_vm._e(),(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.targetModel.issuer),callback:function ($$v) {_vm.$set(_vm.targetModel, \"issuer\", $$v)},expression:\"targetModel.issuer\"}})],1):_vm._e(),(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.targetModel.productName),callback:function ($$v) {_vm.$set(_vm.targetModel, \"productName\", $$v)},expression:\"targetModel.productName\"}})],1):_vm._e(),(_vm.combinedColumn)?_c('td',{staticClass:\"information-column\",attrs:{\"colspan\":\"3\"}},[_c('div',{staticClass:\"information-group\"},[_c('div',[_c('b',[_vm._v(\"Client Name:\")]),_vm._v(\" \"+_vm._s(_vm.clientName)+\" \")]),_c('div',[_c('b',[_vm._v(\"Product:\")]),_vm._v(\" \"+_vm._s(_vm.targetModel.productName)+\" \")])]),_c('div',{staticClass:\"product-tag-group\"},[_c('div',{staticClass:\"pin-tag pin-tag-color-two\"},[_c('i',{staticClass:\"fas fa-building\"}),_vm._v(\" \"+_vm._s(_vm.targetModel.issuer)+\" \")]),(_vm.targetModel.isRider)?_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Rider \")]):(_vm.targetModel.isFund)?_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Fund \")]):_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Basic \")])])]):_vm._e(),(_vm.dateApplicationOn)?_c('td',{staticClass:\"vertical-middle\"},[_c('AppDateInput',{attrs:{\"data-test\":_vm.getDataTestId(_vm.trKey,'dateOfApplication'),\"min\":_vm.reviewDate},model:{value:(_vm.targetModel.dateOfApplication),callback:function ($$v) {_vm.$set(_vm.targetModel, \"dateOfApplication\", $$v)},expression:\"targetModel.dateOfApplication\"}})],1):_vm._e(),_c('td',{staticClass:\"vertical-middle\"},[_c('el-select',{attrs:{\"data-test\":_vm.getDataTestId(_vm.trKey,'clientChoice'),\"disabled\":_vm.shouldDisabledDateSelection},model:{value:(_vm.targetModel.clientChoice),callback:function ($$v) {_vm.$set(_vm.targetModel, \"clientChoice\", $$v)},expression:\"targetModel.clientChoice\"}},_vm._l((_vm.clientChoiceOptions),function(label,key){return _c('el-option',{key:key,attrs:{\"label\":label,\"value\":key}})}),1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const ClientChoiceOptions = { '': '', accept: 'Accept', reject: 'Reject', ownchoice: 'Own Choice', kiv: 'KIV' } as const\n","import { Component, Prop, Vue } from 'vue-property-decorator'\nimport AppDateInput from '@core/components/AppDateInput.vue'\nimport { ClientChoiceOptions } from '@master/model/options/ClientChoiceOptions'\n\n@Component({\n components: {\n AppDateInput\n }\n})\nexport class TheClientChoiceTRMixin extends Vue {\n @Prop() targetModel\n @Prop() reviewDate\n @Prop() trKey\n @Prop() clientName\n @Prop() disabledDateSelection\n @Prop({ default: false }) private combinedColumn\n @Prop() options\n @Prop({ default: true }) dateApplicationOn: boolean\n\n getDataTestId (trKey, keyName) {\n return `rcmd-${trKey}-${keyName}`\n }\n\n get clientChoiceOptions () {\n return this.options ?? ClientChoiceOptions\n }\n\n get shouldDisabledDateSelection () {\n return this.disabledDateSelection ?? false\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Mixins } from 'vue-property-decorator'\nimport { TheClientChoiceTRMixin } from './TheClientChoiceTRMixin'\n\nexport default class TheClientChoiceTR extends Mixins(TheClientChoiceTRMixin) {\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheClientChoiceTR.vue?vue&type=template&id=0b7aa57f&scoped=true&\"\nimport script from \"./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TheClientChoiceTR.vue?vue&type=style&index=0&id=0b7aa57f&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0b7aa57f\",\n null\n \n)\n\nexport default component.exports","import { Component, Vue, Prop } from 'vue-property-decorator'\nimport AppDateInput from '@core/components/AppDateInput.vue'\nimport { uniq } from 'lodash/fp'\nimport TheClientChoiceTR from '@core/components/TheClientChoiceTR.vue'\nimport RiderProduct from '@master/model/kyc-form/product/RiderProduct'\nimport InvestmentProduct from '@master/model/kyc-form/product/InvestmentProduct'\nimport { BasicProductV2 as BasicProduct } from '@master/model/kyc-form/product/BasicProductV2'\nimport { options } from '@master/model/options/Options'\n\n@Component({\n components: {\n AppDateInput,\n TheClientChoiceTR\n }\n})\nexport class TheClientChoiceTableMixin extends Vue {\n @Prop() rcmds: (BasicProduct | RiderProduct | InvestmentProduct)[]\n @Prop() reviewDate: number\n @Prop() nameList: options[]\n @Prop() customClientChoiceOptions?: Record\n @Prop({ default: true }) dateApplicationOn: boolean\n\n getClientName (product) {\n // it could be combination of Main Account Holder + Joint Account Holder\n // index need to be + 1 because in nameList Array, the 0 index is occupied by empty value\n // the order of nameList is ['', client 1 name, client 2 name, ... dependants names]\n const ownerArray = [this.nameList[product.clientIndex + 1].value]\n if (product.jointClientIndex) {\n ownerArray.push(this.nameList[product.jointClientIndex + 1].value)\n }\n const uniqName = uniq(ownerArray).filter(data => data)\n return uniqName.join(', ')\n }\n\n getDisabledClientChoice (product) {\n // since all investment subFunds and rider has its own main account/basic product\n // need check on its main account's client choice, if main account has reject/kiv, the subfunds should be disabled\n return (product instanceof RiderProduct || product instanceof InvestmentProduct) ? ['reject', 'kiv'].includes(product.mainProductClientChoice) : false\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{key:_vm.trKey},[(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.clientName),callback:function ($$v) {_vm.clientName=$$v},expression:\"clientName\"}})],1):_vm._e(),(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.targetModel.issuer),callback:function ($$v) {_vm.$set(_vm.targetModel, \"issuer\", $$v)},expression:\"targetModel.issuer\"}})],1):_vm._e(),(!_vm.combinedColumn)?_c('td',[_c('el-input',{staticClass:\"clients-decision\",attrs:{\"disabled\":\"\"},model:{value:(_vm.targetModel.productName),callback:function ($$v) {_vm.$set(_vm.targetModel, \"productName\", $$v)},expression:\"targetModel.productName\"}})],1):_vm._e(),(_vm.combinedColumn)?_c('td',{staticClass:\"information-column\",attrs:{\"colspan\":\"3\"}},[_c('div',{staticClass:\"information-group\"},[_c('div',[_c('b',[_vm._v(\"Client Name:\")]),_vm._v(\" \"+_vm._s(_vm.clientName)+\" \")]),_c('div',[_c('b',[_vm._v(\"Product:\")]),_vm._v(\" \"+_vm._s(_vm.targetModel.productName)+\" \")])]),_c('div',{staticClass:\"product-tag-group\"},[_c('div',{staticClass:\"pin-tag pin-tag-color-two\"},[_c('i',{staticClass:\"fas fa-building\"}),_vm._v(\" \"+_vm._s(_vm.targetModel.issuer)+\" \")]),(_vm.targetModel.isRider)?_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Rider \")]):(_vm.targetModel.isFund)?_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Fund \")]):_c('div',{staticClass:\"pin-tag\"},[_c('i',{staticClass:\"fas fa-tag\"}),_vm._v(\" Basic \")])])]):_vm._e(),_c('td',{staticClass:\"vertical-middle\"},[_c('el-select',{attrs:{\"data-test\":_vm.getDataTestId(_vm.trKey,'clientChoice'),\"disabled\":_vm.shouldDisabledDateSelection},model:{value:(_vm.targetModel.clientChoice),callback:function ($$v) {_vm.$set(_vm.targetModel, \"clientChoice\", $$v)},expression:\"targetModel.clientChoice\"}},_vm._l((_vm.clientChoiceOptions),function(label,key){return _c('el-option',{key:key,attrs:{\"label\":label,\"value\":key}})}),1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Mixins } from 'vue-property-decorator'\nimport { TheClientChoiceTRMixin } from '@core/components/TheClientChoiceTRMixin'\n\nexport default class TheClientChoiceTR extends Mixins(TheClientChoiceTRMixin) {\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheClientChoiceTR.vue?vue&type=template&id=ef260564&scoped=true&\"\nimport script from \"./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheClientChoiceTR.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TheClientChoiceTR.vue?vue&type=style&index=0&id=ef260564&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ef260564\",\n null\n \n)\n\nexport default component.exports","import { Component, Mixins } from 'vue-property-decorator'\nimport { TheClientChoiceTableMixin } from '@core/components/basicRecommendation/TheClientChoiceTableMixin'\nimport TheClientChoiceTR from '@/views/kyc-form/component/TheClientChoiceTR.vue'\n\n@Component({\n components: {\n TheClientChoiceTR\n }\n})\nexport class CustomTheClientChoiceTableMixin extends Mixins(TheClientChoiceTableMixin) {\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Mixins } from 'vue-property-decorator'\nimport { CustomTheClientChoiceTableMixin } from './TheClientChoiceTableMixin'\n\nexport default class TheClientChoiceTable extends Mixins(CustomTheClientChoiceTableMixin) {\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheClientChoiceTable.vue?vue&type=template&id=51cabf7a&scoped=true&\"\nimport script from \"./TheClientChoiceTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheClientChoiceTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TheClientChoiceTable.vue?vue&type=style&index=0&id=51cabf7a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"51cabf7a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator'\nimport { namespace } from 'vuex-class'\nimport KYCForm from '@company-common/model/kyc-form/KYCForm'\nimport { inject } from 'inversify-props'\nimport { IProjectInfo } from '@master/config/IProjectInfo'\nimport TheClientChoiceTable from '@/views/kyc-form/component/TheClientChoiceTable.vue'\n\nconst kycFormStore = namespace('KYCFormStore')\n\n@Component({\n components: {\n TheClientChoiceTable\n }\n})\nexport default class TheClientDecision extends Vue {\n @kycFormStore.State\n kycForm!: KYCForm;\n\n @inject()\n private projectInfo: IProjectInfo;\n\n personalDetails (clientIndex: 0 | 1) {\n if (clientIndex === 0) {\n return this.kycForm.client1.personalDetails\n } else {\n return this.kycForm.client2.personalDetails\n }\n }\n\n get totalAnnualPremiumForClient1 () {\n const annualPremium = this.kycForm.recommendations.totalAnnualizedPremiumForClient(0)\n return annualPremium ? annualPremium.toLocaleString() : 0\n }\n\n get totalSinglePremiumForClient1 () {\n const singlePremium = this.kycForm.recommendations.totalSinglePremiumForClient(0)\n return singlePremium ? singlePremium.toLocaleString() : 0\n }\n\n get totalAnnualPremiumForClient2 () {\n const annualPremium = this.kycForm.recommendations.totalAnnualizedPremiumForClient(1)\n return annualPremium ? annualPremium.toLocaleString() : 0\n }\n\n get totalSinglePremiumForClient2 () {\n const singlePremium = this.kycForm.recommendations.totalSinglePremiumForClient(1)\n return singlePremium ? singlePremium.toLocaleString() : 0\n }\n\n get clientDeclaration () {\n return this.kycForm.clientDeclaration\n }\n\n get sharedBasisAttribute () {\n return this.kycForm.client1.recommendationBasis\n }\n\n get recommendations () {\n return this.kycForm.recommendations\n }\n\n get rcmds () {\n return this.recommendations.flatProductWithInvestMainAccount\n }\n\n get nameList () {\n return this.kycForm.getLifeAssured()\n }\n\n get clientDisagreeWithRecommendation () {\n return this.clientDeclaration.clientDecisionAgree\n }\n\n set clientDisagreeWithRecommendation (value) {\n this.clientDeclaration.clientDecisionAgree = value\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientDecision.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientDecision.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheClientDecision.vue?vue&type=template&id=98ab94e8&scoped=true&\"\nimport script from \"./TheClientDecision.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheClientDecision.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TheClientDecision.vue?vue&type=style&index=0&id=98ab94e8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"98ab94e8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=style&index=0&id=0b7aa57f&lang=scss&scoped=true&\"","import dayjs, { ManipulateType } from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport utc from 'dayjs/plugin/utc'\nimport timezonePlugin from 'dayjs/plugin/timezone'\nimport { format } from './DateService'\nimport { TimeUnit } from './IDateService'\n\nexport class DateTime {\n private _time: number\n private timezone: string\n\n private get timeInServiceFormat () {\n return dayjs(this._time).tz(this.timezone)\n }\n\n get time () {\n return this._time\n }\n\n constructor (_date?: string | number | Date | bigint, timezone?: string) {\n const date = typeof _date === 'bigint' ? Number(_date) : _date\n\n this.timezone = timezone || 'Asia/Singapore'\n\n this.initService()\n\n if (!date) {\n this._time = dayjs().tz(this.timezone).valueOf()\n return\n }\n\n const res = dayjs(date).tz(this.timezone).valueOf()\n if (!res) throw new Error('Invalid Date')\n this._time = res\n }\n\n private initService () {\n dayjs.extend(customParseFormat)\n dayjs.extend(utc)\n dayjs.extend(timezonePlugin)\n dayjs.prototype.format = format\n }\n\n format (format: string): string {\n return this.timeInServiceFormat.format(format)\n }\n\n /**\n *\n * @returns Return day of week, (0) Sunday - (6) Saturday\n */\n day () {\n return dayjs(this._time).day()\n }\n\n formatUnixToDate (unix: number | bigint, format: string): string {\n const date = typeof unix === 'bigint' ? Number(unix) : unix\n return dayjs(date).format(format)\n }\n\n add (amount: number, timeUnit: TimeUnit) {\n this._time = this.timeInServiceFormat.add(amount, timeUnit as ManipulateType).valueOf()\n return this\n }\n\n subtract (amount: number, timeUnit: TimeUnit) {\n this._time = this.timeInServiceFormat.subtract(amount, timeUnit as ManipulateType).valueOf()\n return this\n }\n\n get (timeUnit: Exclude) {\n return this.timeInServiceFormat.get(timeUnit)\n }\n\n set (value: number, timeUnit: Exclude) {\n this._time = this.timeInServiceFormat\n .set(timeUnit, value)\n .valueOf()\n return this\n }\n\n startOf (timeUnit: Exclude) {\n this._time = this.timeInServiceFormat.startOf(timeUnit).valueOf()\n return this\n }\n\n difference (date: DateTime, timeUnit: TimeUnit = 'millisecond', floatingValue = true) {\n return this.timeInServiceFormat.diff(date.timeInServiceFormat, timeUnit, floatingValue)\n }\n\n toDate (): Date {\n return this.timeInServiceFormat.toDate()\n }\n\n clone () {\n return new DateTime(this._time, this.timezone)\n }\n\n setTimezone (timezone: string) {\n this.timezone = timezone\n return this\n }\n\n getEndOfTheDay () {\n return this.timeInServiceFormat.utc().endOf('day').valueOf()\n }\n\n isBefore (toCompareTime: number) {\n return this.timeInServiceFormat.isBefore(toCompareTime)\n }\n\n isAfter (toCompareTime: number) {\n return this.timeInServiceFormat.isAfter(toCompareTime)\n }\n\n isSame (toCompareTime: number) {\n return this.timeInServiceFormat.isSame(toCompareTime)\n }\n}\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTable.vue?vue&type=style&index=0&id=51cabf7a&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',{attrs:{\"type\":_vm.inputType,\"min\":_vm.minDate,\"max\":_vm.maxDate},domProps:{\"value\":_vm.getDate()},on:{\"blur\":_vm.setDate}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator'\nimport { isNull, isUndefined } from 'lodash/fp'\nimport { inject } from 'inversify-props'\nimport { IDateService } from '@master/services/IDateService'\nimport { DateTime } from '@master/services/DateTime'\n\n@Component\nexport default class AppDateInput extends Vue {\n @Prop() readonly value!: number\n @Prop() readonly futureDate: boolean\n @Prop() readonly min: number\n @Prop({ default: 'date' }) readonly inputType: string\n @Prop({ default: false }) readonly disabledFutureDate: boolean\n\n @inject()\n private dateService: IDateService\n\n get minDate () {\n if (this.min) return this.dateService.format(this.min, 'YYYY-MM-DD')\n return this.futureDate ? this.dateService.format(new Date(), 'YYYY-MM-DD') : null\n }\n\n get maxDate () {\n return this.disabledFutureDate ? this.dateService.format(new Date(), 'YYYY-MM-DD') : null\n }\n\n getDate () {\n if (isUndefined(this.value) || isNull(this.value) || !this.value) return ''\n return this.dateService.format(Number(this.value), this.inputType === 'month' ? 'YYYY-MM' : 'YYYY-MM-DD')\n }\n\n @Emit('input')\n setDate (e) {\n const dateString = e.target.value\n if (!dateString && !e.target.validity.badInput) {\n return null\n }\n\n if ((this.min && this.dateService.isInThePastOfDate(dateString, this.min)) || !this.dateService.isValidDate(dateString, 'DD-MM-YYYY')) {\n e.target.value = null\n throw new Error('Please select a valid date!')\n }\n\n const date = new DateTime(dateString)\n return date.toDate().toString() === 'Invalid Date' ? null : date.time\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDateInput.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDateInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppDateInput.vue?vue&type=template&id=56e4d28a&\"\nimport script from \"./AppDateInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppDateInput.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientChoiceTR.vue?vue&type=style&index=0&id=ef260564&lang=scss&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheClientDecision.vue?vue&type=style&index=0&id=98ab94e8&lang=scss&scoped=true&\""],"sourceRoot":""}