{"version":3,"sources":["webpack:///./src/views/kyc-form/section/investment-risk-profile/RiskProfileAssessmentView.vue?f770","webpack:///./src/assets/risk_reward.svg","webpack:///./src/views/kyc-form/section/investment-risk-profile/RiskProfileAssessmentView.vue?4981","webpack:///./src/views/kyc-form/section/investment-risk-profile/RiskProfileAssessmentView.vue","webpack:///./src/views/kyc-form/section/investment-risk-profile/RiskProfileAssessmentView.vue?0e17","webpack:///./src/views/kyc-form/section/investment-risk-profile/RiskProfileAssessmentView.vue?bc1f","webpack:///./src/views/kyc-form/component/AppSwitch.vue?c1c6","webpack:///./src/views/kyc-form/component/AppSwitch.vue?1944","webpack:///./src/views/kyc-form/component/AppSwitch.vue","webpack:///./src/views/kyc-form/component/AppSwitch.vue?625d","webpack:///./src/views/kyc-form/component/AppSwitch.vue?5bd2"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","selectedClient","on","clientOptionSelected","domProps","sharedRpaAttributes","rpaCompleted","$event","updateCompleteRpa","_e","_m","staticStyle","_s","projectInfo","agentRepresentative","directives","name","rawName","value","editingClient","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","$set","multiple","riskProfile","_l","question","questionIndex","key","text","option","optionIndex","String","fromCharCode","point","getQuestionnairePoint","updateQuestionnairePoint","riskScore","niceRiskProfileName","riskProfileCalculated","_q","reviewConfirmation","agreement","isArray","ownChoice","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","staticRenderFns","kycFormStore","questions","isClient2Included","window","alert","kycForm","client2","personalDetails","included","client1","rpa","Object","assign","result","question1","question2","question3","question4","question5","question6","getRiskProfile","score","profile","newValue","confirm","preventDefault","State","components","AppSwitch","component","index","class","optionSelected"],"mappings":"2IAAA,W,uBCAAA,EAAOC,QAAU,IAA0B,gC,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MA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IC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACI,MAAM,CAAC,GAAK,WAAW,CAACR,EAAI4C,GAAI5C,EAAW,SAAE,SAASiD,EAAOuD,GAAO,MAAO,CAAW,GAATA,EAAYpG,EAAG,OAAO,CAAC2C,IAAIyD,IAAQxG,EAAIiB,KAAKb,EAAG,IAAI,CAAC2C,IAAIE,EAAO3C,YAAY,SAASmG,MAAM,CAAEpE,SAAUrC,EAAIqC,UAAYY,GAASvC,GAAG,CAAC,MAAQ,SAASK,GAAQ,OAAOf,EAAI0G,eAAezD,MAAW,CAACjD,EAAIO,GAAG,IAAIP,EAAIoB,GAAG6B,GAAQ,YAAW,IAC1ZwB,EAAkB,G,wECiBD,EAArB,gLAKI,SAAgBxB,GACd,OAAOA,MANb,GAAuC,QAC3B,gBAAP,kB,8BACO,gBAAP,kB,+BAGD,gBADC,kB,6BAGA,MAPgB,EAAS,gBAD7B,QACoB,WClBmZ,I,wBCQpasD,EAAY,eACd,EACAxG,EACA0E,GACA,EACA,KACA,WACA,MAIa,OAAA8B,E","file":"js/chunk-02a342b6.3c89db4d.js","sourcesContent":["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!./RiskProfileAssessmentView.vue?vue&type=style&index=0&id=4140362c&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/risk_reward.6866563a.svg\";","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(\" Risk Profile Assessment \"),_c('AppSwitch',{attrs:{\"options\":['Client 1', 'Client 2'],\"selected\":_vm.selectedClient},on:{\"option-selected\":_vm.clientOptionSelected}})],1),_c('div',{staticClass:\"form-body\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":1}},[_c('input',{attrs:{\"type\":\"checkbox\",\"id\":\"rpa-yes\"},domProps:{\"checked\":_vm.sharedRpaAttributes.rpaCompleted},on:{\"click\":function($event){return _vm.updateCompleteRpa($event)}}})]),_c('el-col',{attrs:{\"span\":23}},[_c('label',{attrs:{\"for\":\"rpa-yes\"}},[_vm._v(\"I/We am/are not completing the Risk Profile Assessment as I/we am/are not planning for CIS and/or products with cash value.\")])])],1)],1),(!_vm.sharedRpaAttributes.rpaCompleted)?[_c('div',{staticClass:\"form-body\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"Notice to Client(s)\")]),_vm._m(0),_vm._m(1),_vm._m(2),_c('p',{staticStyle:{\"line-height\":\"1.4\"}},[_c('b',[_vm._v(\"IMPORTANT.\")]),_vm._v(\"The information in this assessment describes the risks you are willing and able to take \"),_c('b',[_vm._v(\"AND\")]),_vm._v(\" your investment objectives are intended to remain valid for a period of at least one year from the date of original completion as specified on the cover page of the PFR form. Should your circumstances change significantly before the expiration of the one year period or before an update of your risk profile is done, please contact your \"+_vm._s(_vm.projectInfo.agentRepresentative)+\" immediately to effect relevant revisions to ensure your risk profile, investment objectives and any investment advice(s) we may give remain aligned. \")])]),_c('table',{staticClass:\"bordered\"},[_vm._m(3),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" Please indicate your risk profile based on the description above if you do not wish to answer the risk profile assessment as stated below. \")]),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.riskProfile),expression:\"editingClient.riskProfile\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.editingClient, \"riskProfile\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"as_per_questionnaire\"}},[_vm._v(\"(As per questionnaire)\")]),_c('option',{attrs:{\"value\":\"conservative\"}},[_vm._v(\"1-Conservative\")]),_c('option',{attrs:{\"value\":\"moderately_conservative\"}},[_vm._v(\"2-Moderately Conservative\")]),_c('option',{attrs:{\"value\":\"balanced\"}},[_vm._v(\"3-Balanced\")]),_c('option',{attrs:{\"value\":\"moderately_aggressive\"}},[_vm._v(\"4-Moderately Aggressive\")]),_c('option',{attrs:{\"value\":\"aggressive\"}},[_vm._v(\"5-Aggressive\")])])])])])]),(_vm.editingClient.riskProfile === 'as_per_questionnaire')?[_c('table',{staticClass:\"bordered\"},[_vm._m(4),_c('tbody',[_vm._l((_vm.questions),function(question,questionIndex){return [_c('tr',{key:questionIndex},[_c('td',{staticClass:\"row-title\",attrs:{\"colspan\":\"3\"}},[_vm._v(_vm._s(questionIndex + 1)+\". \"+_vm._s(question.text))])]),_vm._l((question.options),function(option,optionIndex){return _c('tr',{key:questionIndex + '-' + optionIndex},[_c('td',[_vm._v(_vm._s(String.fromCharCode(97 + optionIndex))+\". \"+_vm._s(option.text))]),_c('td',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(_vm._s(option.point)+_vm._s(option.point > 1 ? 'pts' : 'pt'))]),_c('td',{staticStyle:{\"text-align\":\"center\"}},[_c('input',{attrs:{\"type\":\"radio\",\"id\":questionIndex + '-' + optionIndex},domProps:{\"value\":option.point,\"checked\":_vm.getQuestionnairePoint(questionIndex) === option.point},on:{\"change\":function($event){return _vm.updateQuestionnairePoint(questionIndex, option.point)}}})])])})]})],2)]),_c('table',{staticClass:\"bordered\"},[_c('tbody',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._m(5),_vm._m(6),_c('tr',[_c('td',{attrs:{\"colspan\":\"4\"}},[_vm._v(\"Total Risk Profile Score:\")]),_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.riskScore))])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"4\"}},[_vm._v(\"Your Risk Profile is\")]),_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.niceRiskProfileName(_vm.riskProfileCalculated)))])])])]),_c('table',{staticClass:\"bordered\",attrs:{\"id\":\"rpa-client-declaration\"}},[_vm._m(7),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" I/We have also reviewed the risk profile and the analysis of my/our investment preferences. I/We understand that the risk profile and the matching investment preferences ascertained here for me/us will form a significant basis for investment decisions and portfolio construction. \")]),_c('td',[_c('div',{staticClass:\"stack-radio-group\"},[_c('div',{staticClass:\"radio-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.reviewConfirmation),expression:\"editingClient.reviewConfirmation\"}],attrs:{\"type\":\"radio\",\"id\":\"review-comfirmation-yes\",\"value\":\"yes\"},domProps:{\"checked\":_vm._q(_vm.editingClient.reviewConfirmation,\"yes\")},on:{\"change\":function($event){return _vm.$set(_vm.editingClient, \"reviewConfirmation\", \"yes\")}}}),_c('label',{attrs:{\"for\":\"review-comfirmation-yes\"}},[_vm._v(\"Yes\")])]),_c('div',{staticClass:\"radio-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.reviewConfirmation),expression:\"editingClient.reviewConfirmation\"}],attrs:{\"type\":\"radio\",\"id\":\"review-comfirmation-no\",\"value\":\"no\"},domProps:{\"checked\":_vm._q(_vm.editingClient.reviewConfirmation,\"no\")},on:{\"change\":function($event){return _vm.$set(_vm.editingClient, \"reviewConfirmation\", \"no\")}}}),_c('label',{attrs:{\"for\":\"review-comfirmation-no\"}},[_vm._v(\"No\")])])])])]),_c('tr',[_c('td',[_vm._v(\"I/We* agree with the risk profile assessment above.\")]),_c('td',[_c('div',{staticClass:\"stack-radio-group\"},[_c('div',{staticClass:\"radio-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.agreement),expression:\"editingClient.agreement\"}],attrs:{\"type\":\"radio\",\"id\":\"agreement-yes\",\"value\":\"yes\"},domProps:{\"checked\":_vm._q(_vm.editingClient.agreement,\"yes\")},on:{\"change\":function($event){return _vm.$set(_vm.editingClient, \"agreement\", \"yes\")}}}),_c('label',{attrs:{\"for\":\"agreement-yes\"}},[_vm._v(\"Yes\")])]),_c('div',{staticClass:\"radio-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.agreement),expression:\"editingClient.agreement\"}],attrs:{\"type\":\"radio\",\"id\":\"agreement-no\",\"value\":\"no\"},domProps:{\"checked\":_vm._q(_vm.editingClient.agreement,\"no\")},on:{\"change\":function($event){return _vm.$set(_vm.editingClient, \"agreement\", \"no\")}}}),_c('label',{attrs:{\"for\":\"agreement-no\"}},[_vm._v(\"No\")])])])])]),(_vm.editingClient.agreement === 'no')?_c('tr',[_c('td',[_vm._v(\"My/our* preferred risk profile is/are*:\")]),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.riskProfilePreferred),expression:\"editingClient.riskProfilePreferred\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.editingClient, \"riskProfilePreferred\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"\"}}),_c('option',{attrs:{\"value\":\"conservative\"}},[_vm._v(\"Conservative\")]),_c('option',{attrs:{\"value\":\"moderately_conservative\"}},[_vm._v(\"Moderately Conservative\")]),_c('option',{attrs:{\"value\":\"balanced\"}},[_vm._v(\"Balanced\")]),_c('option',{attrs:{\"value\":\"moderately_aggressive\"}},[_vm._v(\"Moderately Aggressive\")]),_c('option',{attrs:{\"value\":\"aggressive\"}},[_vm._v(\"Aggressive\")])])])]):_vm._e()])])]:[_c('table',{staticClass:\"bordered\"},[_vm._m(8),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" I/We do not wish to take the Risk profile questions and instruct the \"+_vm._s(_vm.projectInfo.agentRepresentative)+\" to use my/our preferred risk profile as stated earlier (at the top of this section). \")]),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editingClient.ownChoice),expression:\"editingClient.ownChoice\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.editingClient.ownChoice)?_vm._i(_vm.editingClient.ownChoice,null)>-1:(_vm.editingClient.ownChoice)},on:{\"change\":function($event){var $$a=_vm.editingClient.ownChoice,$$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.editingClient, \"ownChoice\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.editingClient, \"ownChoice\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.editingClient, \"ownChoice\", $$c)}}}})])])])])]]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticStyle:{\"list-style-type\":\"disc\"}},[_c('li',[_c('b',[_vm._v(\"Complete Risk Profile Assessment:\")])]),_c('li',{staticClass:\"tab\"},[_vm._v(\" if you have met the CKA criteria and you are planning to purchase a/ an CIS/ ILP/ Product(s) with cash value but you are not aware of the type of risk profile you are in. \")]),_c('li',{staticClass:\"tab\"},[_vm._v(\" if you have not met the CKA criteria and you are planning to purchase a/ an CIS/ ILP/ Product(s) with cash value. \")]),_c('li',{staticClass:\"tab\"},[_vm._v(\" if you have not met the CKA criteria and you are not planning to purchase a/ an CIS/ ILP/ Product(s) with cash value but you are not aware of the type of risk profile you are in, you may fill in this part of the risk profile assessment to derive your risk profile for your understanding. If not, it is not mandatory for you to fill in the risk profile assessment. \")]),_c('li',{staticClass:\"tab\"},[_vm._v(\" In the event that you do not agree with the risk profile after completing the risk profile assessment, you may state your preferred risk profile under Client's Declaration (Risk Profile Assessment) below. Do note that this is not applicable for clients who have not met the CKA criteria and are planning to purchase a/ an CIS/ ILP/ Product(s) with cash value. \")]),_c('li',[_vm._v(\" The Risk Profile Assessment is merely a guide and is general in nature. Therefore, you must still carefully assess the recommendation and appropriateness of any investment to your circumstances before proceeding with any investment. \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"img-container\"},[_c('img',{attrs:{\"src\":require(\"@/assets/risk_reward.svg\"),\"width\":\"100%\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"risk-profile bordered\"},[_c('thead',[_c('tr',[_c('th',{attrs:{\"width\":\"150\"}},[_vm._v(\"Risk Profiles\")]),_c('th',[_vm._v(\"Description of Risk Profiles\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\"1 Conservative\")]),_c('td',[_vm._v(\" You are someone who prefers low risk and do not mind lower returns. You prefer a safe and regular income over capital growth. Capital protection of your investment is important to you. \")])]),_c('tr',[_c('td',[_vm._v(\"2 Moderately Conservative\")]),_c('td',[_vm._v(\" You are someone who prefers risk with potential returns over medium to long term. Before undertaking any risk, you like to do your research and be prepared as you are unwilling to take chances with your capital. \")])]),_c('tr',[_c('td',[_vm._v(\"3 Balanced\")]),_c('td',[_vm._v(\" You are someone who prefers a moderate level of risk. You can tolerate some fluctuations in the value of your investment in anticipation of higher potential returns over medium to long term. \")])]),_c('tr',[_c('td',[_vm._v(\"4 Moderately Aggressive\")]),_c('td',[_vm._v(\" You are someone who is willing to accept a higher level of risk, which may result in short term losses. Your main objective is to achieve medium to long term capital growth. \")])]),_c('tr',[_c('td',[_vm._v(\"5 Aggressive\")]),_c('td',[_vm._v(\" You are someone who is willing to accept a substantial level of risk. You are prepared to compromise the invested capital to pursue highest possible return over a short to long term investment cycle. \")])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"3\"}},[_vm._v(\"Part (I): My/Our Chosen Risk Profile is/are:\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"3\"}},[_vm._v(\"Part (II): My/Our Risk Profile Assessment is:\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',[_vm._v(\"Conservative:\")]),_c('td',[_vm._v(\"6 - 10 pts\")]),_c('td',[_vm._v(\"Moderately Conservative:\")]),_c('td',[_vm._v(\"11 - 15 pts\")]),_c('td',[_vm._v(\"Aggressive:\")]),_c('td',[_vm._v(\"26 - 30 pts\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',[_vm._v(\"Balanced:\")]),_c('td',[_vm._v(\"16 - 20 pts\")]),_c('td',[_vm._v(\"Moderately Aggressive:\")]),_c('td',{attrs:{\"colspan\":\"3\"}},[_vm._v(\"21 - 25 pts\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"2\"}},[_vm._v(\"Client's Declaration (Risk Profile Assessment):\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"2\"}},[_vm._v(\"Client's Declaration (Own Choice):\")])])])}]\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 AppSwitch from '@/views/kyc-form/component/AppSwitch.vue'\nimport KYCForm from '@company-common/model/kyc-form/KYCForm'\nimport { startCase } from 'lodash/fp'\nimport RPA from '@company-common/model/kyc-form/CustomRPA'\nimport { inject } from 'inversify-props'\nimport { IProjectInfo } from '@master/config/IProjectInfo'\n\nconst kycFormStore = namespace('KYCFormStore')\n\n@Component({\n components: {\n AppSwitch\n }\n})\nexport default class RiskProfileAssessmentView extends Vue {\n @inject()\n private projectInfo: IProjectInfo;\n\n selectedClient = 'Client 1';\n questions: { text: string; options: { text: string; point: number }[] }[] = [\n {\n text: 'What is the primary purpose of your investment?',\n options: [\n {\n text: 'Earn more interest than bank deposit rates',\n point: 1\n },\n {\n text:\n 'Saving towards the purchase of a home (e.g. downpayment for home purchase)',\n point: 2\n },\n {\n text: \"Saving for children's education\",\n point: 3\n },\n {\n text: 'Accumulate for future lifestyle enhancement',\n point: 4\n },\n {\n text: 'Accumulate for retirement',\n point: 5\n }\n ]\n },\n {\n text: 'What is the expected time frame for your investment ?',\n options: [\n {\n text: 'Less than 1 year',\n point: 1\n },\n {\n text: '1 - 3 years',\n point: 2\n },\n {\n text: '3 - 5 years',\n point: 3\n },\n {\n text: '5 - 10 years',\n point: 4\n },\n {\n text: 'More than 10 years',\n point: 5\n }\n ]\n },\n {\n text:\n 'Compared to others, how do you rate your willingness to take investment risks?',\n options: [\n {\n text: 'Extremely low risk',\n point: 1\n },\n {\n text: 'Low risk',\n point: 2\n },\n {\n text: 'Average risk',\n point: 3\n },\n {\n text: 'High risk',\n point: 4\n },\n {\n text: 'Extremely high risk',\n point: 5\n }\n ]\n },\n {\n text:\n 'Would you rate protecting your investment as more important than making the investment grow?',\n options: [\n {\n text: 'Definitely yes',\n point: 1\n },\n {\n text: 'Yes',\n point: 2\n },\n {\n text: 'Neutral',\n point: 3\n },\n {\n text: 'No',\n point: 4\n },\n {\n text: 'Definitely not',\n point: 5\n }\n ]\n },\n {\n text:\n 'What is the likelihood of you needing the money on the investment within your expected time-frame?',\n options: [\n {\n text: 'Very high',\n point: 1\n },\n {\n text: 'High',\n point: 2\n },\n {\n text: 'Moderate',\n point: 3\n },\n {\n text: 'Low',\n point: 4\n },\n {\n text: 'Not at all',\n point: 5\n }\n ]\n },\n {\n text: 'What is your current knowledge and experience in investments?',\n options: [\n {\n text:\n 'I have most of my savings in bank deposits and I am just starting to learn about investment',\n point: 1\n },\n {\n text:\n 'I have invested in fixed deposits, life insurance and investment-linked plans',\n point: 2\n },\n {\n text: 'I have invested in unit trusts',\n point: 3\n },\n {\n text:\n 'I am quite knowledgeable in investment and have invested in stocks',\n point: 4\n },\n {\n text: 'I consider myself to be a sophisticated investor',\n point: 5\n }\n ]\n }\n ];\n\n @kycFormStore.State\n private kycForm!: KYCForm;\n\n clientOptionSelected (option: string): void {\n if (option === 'Client 2' && !this.isClient2Included()) {\n window.alert(\n 'Client 2 is not included in this KYC Form. To include, go to \"Client Summary\" page and enable the checkbox.'\n )\n return\n }\n this.selectedClient = option\n }\n\n isClient2Included () {\n return this.kycForm.client2.personalDetails.included\n }\n\n get sharedRpaAttributes () {\n return this.kycForm.client1.rpa\n }\n\n get editingClient () {\n if (this.selectedClient === 'Client 1') {\n return this.kycForm.client1.rpa\n } else {\n return this.kycForm.client2.rpa\n }\n }\n\n getQuestionnairePoint (questionIndex: number) {\n const key = `question${questionIndex + 1}`\n return this.editingClient[key]\n }\n\n updateQuestionnairePoint (questionIndex: number, point: number) {\n const key = `question${questionIndex + 1}`\n Object.assign(this.editingClient, { [key]: point })\n }\n\n get riskScore () {\n const question = this.editingClient\n let result = 0\n result += question.question1 || 0\n result += question.question2 || 0\n result += question.question3 || 0\n result += question.question4 || 0\n result += question.question5 || 0\n result += question.question6 || 0\n this.editingClient.riskScore = result\n return result\n }\n\n get riskProfileCalculated () {\n this.editingClient.riskProfileCalculated = this.getRiskProfile(\n this.riskScore\n )\n return this.editingClient.riskProfileCalculated\n }\n\n getRiskProfile (score: number) {\n if (score < 6) return '' // JPara's specific - same behavior as Linc\n switch (true) {\n case score < 11:\n return 'conservative'\n case score < 16:\n return 'moderately_conservative'\n case score < 21:\n return 'balanced'\n case score < 26:\n return 'moderately_aggressive'\n case score < 31:\n return 'aggressive'\n default:\n return ''\n }\n }\n\n niceRiskProfileName (profile: string) {\n return startCase(profile)\n }\n\n updateCompleteRpa ($event) {\n const newValue = $event.target.checked\n if (newValue) {\n const confirm = window.confirm(\n 'Pressing confirm will clear out all information on this page. Continue?'\n )\n if (confirm) {\n this.kycForm.client1.rpa = new RPA()\n this.kycForm.client2.rpa = new RPA('client_1')\n this.sharedRpaAttributes.rpaCompleted = newValue\n } else {\n $event.preventDefault()\n }\n } else {\n this.sharedRpaAttributes.rpaCompleted = newValue\n }\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!./RiskProfileAssessmentView.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!./RiskProfileAssessmentView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RiskProfileAssessmentView.vue?vue&type=template&id=4140362c&scoped=true&\"\nimport script from \"./RiskProfileAssessmentView.vue?vue&type=script&lang=ts&\"\nexport * from \"./RiskProfileAssessmentView.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RiskProfileAssessmentView.vue?vue&type=style&index=0&id=4140362c&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 \"4140362c\",\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!./AppSwitch.vue?vue&type=style&index=0&id=7447554a&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"switch\"}},[_vm._l((_vm.options),function(option,index){return [(index != 0)?_c('span',{key:index}):_vm._e(),_c('a',{key:option,staticClass:\"option\",class:{ selected: _vm.selected == option },on:{\"click\":function($event){return _vm.optionSelected(option)}}},[_vm._v(\" \"+_vm._s(option)+\" \")])]})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit } from 'vue-property-decorator'\n\n@Component\nexport default class AppSwitch extends Vue {\n @Prop() readonly options!: string[]\n @Prop() readonly selected!: string\n\n @Emit()\n optionSelected (option: string) {\n return option\n }\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!./AppSwitch.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!./AppSwitch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppSwitch.vue?vue&type=template&id=7447554a&scoped=true&\"\nimport script from \"./AppSwitch.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppSwitch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AppSwitch.vue?vue&type=style&index=0&id=7447554a&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 \"7447554a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}