{"version":3,"sources":["webpack:///./@core/components/LoadingBar.vue?4905","webpack:///./@core/components/LoadingBar.vue","webpack:///./@core/components/LoadingBar.vue?3870","webpack:///./@core/components/LoadingBar.vue?02aa","webpack:///./@core/components/AppSectionNavi.vue?8425","webpack:///./@core/components/AppSectionNavi.vue","webpack:///./@core/components/AppSectionNavi.vue?e286","webpack:///./@core/components/AppSectionNavi.vue?bc9c","webpack:///./@core/components/LoadingScreen.vue?5b68","webpack:///./@core/pages/bsc/BscPolicyReview.vue?0852","webpack:///./node_modules/randomstring/lib/randomstring.js","webpack:///./node_modules/randomstring/lib/charset.js","webpack:///./@core/components/LoadingBar.vue?28f5","webpack:///./node_modules/randomstring/index.js","webpack:///./@core/assets/myinfo-icon.svg","webpack:///./node_modules/randomstring/node_modules/randombytes/browser.js","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./@core/pages/bsc/bscClasses.ts","webpack:///./@core/components/AppForm.vue?baa9","webpack:///./@core/components/AppCurrencyNA.vue?af5e","webpack:///./@core/components/AppSectionNavi.vue?1156","webpack:///./node_modules/randomstring/node_modules/array-uniq/index.js","webpack:///./@core/pages/bsc/BscPolicyReview.vue?b7a4","webpack:///./@core/components/LoadingScreen.vue?602e","webpack:///./@core/components/LoadingScreen.vue","webpack:///./@core/components/LoadingScreen.vue?e2e7","webpack:///./@core/components/LoadingScreen.vue?221e","webpack:///./@core/pages/bsc/BscPolicyReviewMixin.ts","webpack:///./@core/pages/bsc/BscPolicyReview.vue","webpack:///./@core/pages/bsc/BscPolicyReview.vue?4e6f","webpack:///./@core/pages/bsc/BscPolicyReview.vue?e652","webpack:///./@core/components/AppForm.vue?4190","webpack:///./@core/components/AppCurrencyNA.vue?2c19","webpack:///./@core/components/AppCurrencyNA.vue","webpack:///./@core/components/AppCurrencyNA.vue?4219","webpack:///./@core/components/AppCurrencyNA.vue?6502","webpack:///./@core/components/AppForm.vue","webpack:///./@core/components/AppForm.vue?cec5","webpack:///./@core/components/AppForm.vue?3db6"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","component","_v","_s","header","_l","subheader","index","key","_t","section","path","attrs","toUrl","scopedSlots","_u","fn","ref","href","navigate","isActive","class","shouldDisabled","name","on","children","subsection","isSubActive","_e","parentPath","useRouterPath","constructedParentPath","rootPath","param","params","$router","currentRoute","matched","clientParam","clientOid","userParam","userOid","policyOid","returnedPath","replace","input","$route","endsWith","default","randomBytes","Charset","unsafeRandomBytes","length","stack","i","push","Math","floor","random","readUInt8","safeRandomBytes","e","processString","buf","initialString","chars","reqLen","maxByte","string","randomByte","charAt","getAsyncString","cb","err","generatedString","exports","generate","options","charset","setType","capitalization","setcapitalization","readable","removeUnreadable","removeDuplicates","charsLen","ceil","arrayUniq","prototype","type","numbers","charsLower","charsUpper","toUpperCase","hexChars","binaryChars","octalChars","unreadableChars","toLowerCase","charMap","split","join","module","oldBrowser","Error","crypto","global","msCrypto","size","rawBytes","Uint8Array","getRandomValues","bytes","Buffer","buffer","process","nextTick","$","uncurryThis","getOwnPropertyDescriptor","f","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","slice","min","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","writable","target","proto","forced","searchString","that","endPosition","arguments","undefined","len","end","search","BscRecord","adviser_name","rnf_number","review_year","review_quarter","bsc_grade","isau_reviewer","remuneration_type","date_completed","selected_representative","last_bsc_grade","last_bsc_grade_period","review_oid","ClientsReviewed","_oid","bsc_user_quarter_oid","client_name","case_supervisor","review_date","policy_number","plan_reference","plan_issuance_date","sample_rounds","cat_1_infraction_count","cat_2_infraction_count","admin_error_count","case_supervisor_oid","policy_oid","infraction_details","admin_error_details","documents_review","client_survey","complaints","is_hardcopy_sub","ClientPolicy","policy_name","tagged_kyc","policy_url","client_oid","DocumentsReview","kpi1_comments","kpi2_comments","kpi3_comments","kpi4_comments","understanding_needs_client_particulars","understanding_needs_financial_objectives","understanding_needs_risk_tolerance","understanding_needs_employment_status","understanding_needs_financial_situation","understanding_needs_regular_income","understanding_needs_financial_commitment","understanding_needs_investment_portfolio","understanding_needs_proportion_amount","understanding_needs_conduct_cka","understanding_needs_valid_reason","sustainability_assumptions_used","sustainability_risk_profiling","sustainability_basis_of_recommendation","sustainability_financial_objectives","sustainability_is_affordable","sustainability_aligned_investment_horizon","sustainability_match_risk_profile","sustainability_concentration_risk","sustainability_particular_needs","sustainability_client_callback","sustainability_callback_adequately_performed","disclosure_client_sign","disclosure_needs_analysis","disclosure_prospectus","disclosure_benefit_illustration","disclosure_nature_objective","disclosure_details_provider","disclosure_party_against","disclosure_intended_client_profile","disclosure_frequency_reports","disclosure_frequency_period_payment","disclosure_benefits_product","disclosure_risk_factors","disclosure_amount_frequency_payment","disclosure_procedures_withdrawal","disclosure_warnings_exclusions","disclosure_freelook_period","ethics_any_indications","ClientSurvey","comprehensive_understand_financial_situation","comprehensive_felt_influenced","comprehensive_explain_influence","suitability_understand_explanation","disclosures_inform_aware","ethics_aspect_dissatisfied","suitability_dissatisfied_elaborate","kpi5_comments","kpi6_comments","kpi7_comments","kpi8_comments","Complaint","complaint_title","complaint_score","complaint_comments","uniqNoSet","arr","ret","indexOf","uniqSet","seen","Set","filter","el","has","add","uniqSetWithForEach","forEach","doesForEachActuallyWork","user","fullname","email","systemrole","sections","slot","onSubmit","clientsReviewedtructure1","clientsReviewed","bscRecordStructure","bscRecord","clientPolicyStructure","clientPolicy","isDisabled","model","value","callback","$$v","$set","expression","staticStyle","clientsReviewedtructure2","$event","isModalDocuments","kpi1","directives","rawName","documentsReview","domProps","composing","kpi2","kpi3","kpi4","isModalSurvey","kpi5","clientSurvey","kpi6","kpi7","kpi8","isModalComplaints","complaint","activeDocumentsName","review","question","newComplaintStructure","newComplaint","saveComplaint","components","LoadingBar","bscOid","infractionOid","oid","kpi1Reviews","colspan","kpi2Reviews","kpi3Reviews","kpi4Reviews","kpi5Reviews","kpi6Reviews","kpi7Reviews","kpi8Reviews","uiService","sharedVariable","query","getUser","getBscRecord","getClientsReviewed","getClientPolicy","currentUser","accountID","$api","account","loginMetaGet","response","meta","bscRecords","getReviewMeta","sectionsList","map","routes","label","disabled","classes","$store","getters","userRole","sectionName","alert","show","message","getClientMeta","JSON","parse","score","toFixed","data","Object","assign","stringify","saveClientMeta","updateInfractionTotal","bsc_quarter_oid","AppSectionNavi","AppForm","LoadingScreen","AppDialog","style","structure","shouldShow","getCustomClass","hasErrors","focusId","getId","focusInner","getTestId","labelModelValue","labelModel","get","set","labelKey","tooltip","eidx","msg","full","fullErr","multiple","optionCols","multiLimit","buttonName","cycleMode","displayDirection","setValue","blurHandler","getValue","checkboxColumnNo","compact","option","isMyInfo","getLabelId","setSelectValue","decimal","maxChar","currencyFormat","precision","futureDate","disabledFutureDate","rows","isVertical","maxSize","columns","getValueForTable","remove","maxLength","counterMsg","isModernTheme","maxlength","numberAndNAOnly","onBlur","onFocus","onSelect","inputModal","textIsSelected","number","convertCurrencyToNumber","remainingChar","evt","window","event","charCode","which","keyCode","currentValue","isAlphabetN","isNonNumber","preventDefault","charCodeAt","isAlphabetA","formatValue","$emit","isNaN","Number","source","useCurrency","currencyPrefix","toLocaleString","currency","replaceAll","projectInfo","inputValue","minimal","structures","errors","charLeft","getCharLeft","getCounterMsg","gridTemplateColumns","projectSettings","theme","condition","readOnly","Function","oriValue","labelValue","selectedOption","selectedIndex","_value","onChange","ex","uniqueID","snakeCaseKey","curAppForm","$el","hasOverflow","scrollWidth","clientWidth","eleId","ele","document","getElementById","focus","mc","swe","first","find","s","scrollIntoView","behavior","block","arrangeCols","addEventListener","Date","now","deep","AppSmartSelect","AppCheckboxGroup","AppRadioSelection","AppDateInput","AppFormTable","AppCurrencyNA","AppDecimalNumber","AppTooltip"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAA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KACAC,eAAA,KACAC,eAAA,KACAC,cAAA,EACAC,mBAAA,KACAC,aAAA,SAIiB,WCnR6W,ICQ9X,G,UAAY,eACd,EACA5f,EACAQ,GACA,EACA,KACA,WACA,OAIa,S","file":"js/chunk-528d292a.38a0ef09.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading-bar\"},[_c('div',{staticClass:\"percentage\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator'\n\n@Component\nexport default class LoadingBar extends Vue {\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!./LoadingBar.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!./LoadingBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoadingBar.vue?vue&type=template&id=6cea96ee&scoped=true&\"\nimport script from \"./LoadingBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoadingBar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LoadingBar.vue?vue&type=style&index=0&id=6cea96ee&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 \"6cea96ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"section-navigation\"},[_c('div',{staticClass:\"information\"},[_c('div',{staticClass:\"header-wrapper\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm.header)+\" \")]),_vm._l((_vm.subheaders),function(subheader,index){return _c('p',{key:index},[_vm._v(\" \"+_vm._s(subheader)+\" \")])})],2),_vm._t(\"custom-header\")],2),_c('div',{staticClass:\"navigation\"},_vm._l((_vm.sections),function(section){return _c('router-link',{key:section.path,attrs:{\"to\":_vm.toUrl(section),\"custom\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar href = ref.href;\nvar navigate = ref.navigate;\nvar isActive = ref.isActive;\nreturn [_c('div',[_c('a',{class:{'disabled': section.shouldDisabled},attrs:{\"active\":isActive,\"href\":href,\"aria-label\":section.name},on:{\"click\":navigate}},[_vm._v(\" \"+_vm._s(section.name)+\" \")]),_c('transition',{attrs:{\"name\":\"height\"}},[(isActive && section.children)?_c('div',{staticClass:\"hight-animation-container\"},_vm._l((section.children),function(subsection){return _c('router-link',{key:subsection.path,attrs:{\"to\":_vm.toUrl(subsection, section.path),\"custom\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar href = ref.href;\nvar navigate = ref.navigate;\nreturn [_c('a',{staticClass:\"subsection\",attrs:{\"active\":_vm.isSubActive(subsection.path),\"href\":href,\"aria-label\":subsection.name},on:{\"click\":navigate}},[_vm._v(\" - \"+_vm._s(subsection.name)+\" \")])]}}],null,true)})}),1):_vm._e()])],1)]}}],null,true)})}),1),_c('div',{staticClass:\"action\"},[_vm._t(\"action\")],2)])}\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\n\n\n\n\n\n\n\nimport { isEmpty } from 'lodash/fp'\nimport { Component, Prop, Vue } from 'vue-property-decorator'\n\n@Component\nexport default class AppSectionNavi extends Vue {\n @Prop({ default: '' }) readonly param: string\n @Prop() readonly header!: string\n @Prop() readonly subheaders!: string[]\n @Prop() readonly sections!: {\n name: string;\n url: string;\n allowed: boolean;\n }[]\n\n @Prop({ default: true }) useRouterPath?: boolean\n\n toUrl (section, parentPath: string) {\n if (this.useRouterPath) {\n const constructedParentPath = isEmpty(parentPath) ? '' : `${parentPath}/`\n return `${this.rootPath}/${constructedParentPath}${section.path}` // default to this path\n }\n // if there is no need to append the current router path, use this instead\n // more info on https://gitlab.picoded-dev.com/wenconsulting/ifam/frontend-core/-/merge_requests/359\n return this.param ? { name: section.name, params: this.param } : section.path\n }\n\n get rootPath () {\n const path = this.$router.currentRoute.matched[0].path\n const clientParam = this.$router.currentRoute.params.clientOid\n const userParam = this.$router.currentRoute.params.userOid\n const policyOid = this.$router.currentRoute.params.policyOid\n let returnedPath = path.replace(':userOid', userParam)\n returnedPath = returnedPath.replace(':clientOid', clientParam)\n returnedPath = returnedPath.replace(':policyOid', policyOid)\n return returnedPath\n }\n\n isSubActive (input) {\n return this.$route.path.endsWith(input)\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!./AppSectionNavi.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!./AppSectionNavi.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppSectionNavi.vue?vue&type=template&id=5d1f1824&scoped=true&\"\nimport script from \"./AppSectionNavi.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppSectionNavi.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AppSectionNavi.vue?vue&type=style&index=0&id=5d1f1824&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 \"5d1f1824\",\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!./LoadingScreen.vue?vue&type=style&index=0&id=7a38ecc8&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!./BscPolicyReview.vue?vue&type=style&index=0&id=3bc808f6&lang=scss&scoped=true&\"","\"use strict\";\n\nvar randomBytes = require('randombytes');\nvar Charset = require('./charset.js');\n\n\nfunction unsafeRandomBytes(length) {\n var stack = [];\n for (var i = 0; i < length; i++) {\n stack.push(Math.floor(Math.random() * 255));\n }\n\n return {\n length,\n readUInt8: function (index) {\n return stack[index];\n }\n };\n}\n\nfunction safeRandomBytes(length) {\n try {\n return randomBytes(length);\n } catch (e) {\n /* React/React Native Fix + Eternal loop removed */\n return unsafeRandomBytes(length);\n }\n}\n\nfunction processString(buf, initialString, chars, reqLen, maxByte) {\n var string = initialString;\n for (var i = 0; i < buf.length && string.length < reqLen; i++) {\n var randomByte = buf.readUInt8(i);\n if (randomByte < maxByte) {\n string += chars.charAt(randomByte % chars.length);\n }\n }\n return string;\n}\n\nfunction getAsyncString(string, chars, length, maxByte, cb) {\n randomBytes(length, function(err, buf) {\n if (err) {\n // Since it is waiting for entropy, errors are legit and we shouldn't just keep retrying\n cb(err);\n }\n var generatedString = processString(buf, string, chars, length, maxByte);\n if (generatedString.length < length) {\n getAsyncString(generatedString, chars, length, maxByte, cb);\n } else {\n cb(null, generatedString);\n }\n })\n}\n\nexports.generate = function(options, cb) {\n var charset = new Charset();\n\n var length, chars, capitalization, string = '';\n\n // Handle options\n if (typeof options === 'object') {\n length = typeof options.length === 'number' ? options.length : 32;\n\n if (options.charset) {\n charset.setType(options.charset);\n }\n else {\n charset.setType('alphanumeric');\n }\n\n if (options.capitalization) {\n charset.setcapitalization(options.capitalization);\n }\n\n if (options.readable) {\n charset.removeUnreadable();\n }\n\n charset.removeDuplicates();\n }\n else if (typeof options === 'number') {\n length = options;\n charset.setType('alphanumeric');\n }\n else {\n length = 32;\n charset.setType('alphanumeric');\n }\n\n // Generate the string\n var charsLen = charset.chars.length;\n var maxByte = 256 - (256 % charsLen);\n\n if (!cb) {\n while (string.length < length) {\n var buf = safeRandomBytes(Math.ceil(length * 256 / maxByte));\n string = processString(buf, string, charset.chars, length, maxByte);\n }\n\n return string;\n }\n\n getAsyncString(string, charset.chars, length, maxByte, cb);\n\n};\n","var arrayUniq = require('array-uniq');\n\nfunction Charset() {\n this.chars = '';\n}\n\nCharset.prototype.setType = function(type) {\n var chars;\n\n var numbers = '0123456789';\n var charsLower = 'abcdefghijklmnopqrstuvwxyz';\n var charsUpper = charsLower.toUpperCase();\n var hexChars = 'abcdef';\n var binaryChars = '01';\n var octalChars = '01234567';\n\n if (type === 'alphanumeric') {\n chars = numbers + charsLower + charsUpper;\n }\n else if (type === 'numeric') {\n chars = numbers;\n }\n else if (type === 'alphabetic') {\n chars = charsLower + charsUpper;\n }\n else if (type === 'hex') {\n chars = numbers + hexChars;\n }\n else if (type === 'binary') {\n chars = binaryChars;\n }\n else if (type === 'octal') {\n chars = octalChars;\n }\n else {\n chars = type;\n }\n\n this.chars = chars;\n}\n\nCharset.prototype.removeUnreadable = function() {\n var unreadableChars = /[0OIl]/g;\n this.chars = this.chars.replace(unreadableChars, '');\n}\n\nCharset.prototype.setcapitalization = function(capitalization) {\n if (capitalization === 'uppercase') {\n this.chars = this.chars.toUpperCase();\n }\n else if (capitalization === 'lowercase') {\n this.chars = this.chars.toLowerCase();\n }\n}\n\nCharset.prototype.removeDuplicates = function() {\n var charMap = this.chars.split('');\n charMap = arrayUniq(charMap);\n this.chars = charMap.join('');\n}\n\nmodule.exports = exports = Charset;\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!./LoadingBar.vue?vue&type=style&index=0&id=6cea96ee&lang=scss&scoped=true&\"","module.exports = require(\"./lib/randomstring\");","module.exports = __webpack_public_path__ + \"img/myinfo-icon.28e75045.svg\";","'use strict'\n\nfunction oldBrowser () {\n throw new Error('secure random number generation not supported by this browser\\nuse chrome, FireFox or Internet Explorer 11')\n}\n\nvar crypto = global.crypto || global.msCrypto\n\nif (crypto && crypto.getRandomValues) {\n module.exports = randomBytes\n} else {\n module.exports = oldBrowser\n}\n\nfunction randomBytes (size, cb) {\n // phantomjs needs to throw\n if (size > 65536) throw new Error('requested too many random bytes')\n // in case browserify isn't using the Uint8Array version\n var rawBytes = new global.Uint8Array(size)\n\n // This will not work in older browsers.\n // See https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues\n if (size > 0) { // getRandomValues fails on IE if size == 0\n crypto.getRandomValues(rawBytes)\n }\n // phantomjs doesn't like a buffer being passed here\n var bytes = new Buffer(rawBytes.buffer)\n\n if (typeof cb === 'function') {\n return process.nextTick(function () {\n cb(null, bytes)\n })\n }\n\n return bytes\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","export class BscRecord {\n adviser_name = ''\n rnf_number = ''\n review_year = undefined\n review_quarter = undefined\n bsc_grade = ''\n isau_reviewer = ''\n remuneration_type = ''\n date_completed = ''\n selected_representative = ''\n last_bsc_grade = ''\n last_bsc_grade_period = ''\n review_oid = ''\n}\nexport class ClientsReviewed {\n _oid = ''\n bsc_user_quarter_oid = ''\n review_oid = ''\n client_name = ''\n case_supervisor = ''\n review_date = undefined\n policy_number = ''\n plan_reference = ''\n plan_issuance_date = undefined\n sample_rounds = ''\n cat_1_infraction_count = undefined\n cat_2_infraction_count = undefined\n admin_error_count = undefined\n case_supervisor_oid = ''\n policy_oid = ''\n infraction_details = ''\n admin_error_details = ''\n documents_review = '' // this will be JSON.parse into DocumentsReview\n client_survey = '' // this will be JSON.parse into ClientSurvey\n complaints = '' // this will be JSON.parse into Complaint\n is_hardcopy_sub = undefined\n}\nexport class ClientPolicy {\n policy_name = ''\n policy_number = ''\n tagged_kyc = ''\n policy_url = ''\n client_oid = ''\n}\nexport class DocumentsReview {\n kpi1_comments = ''\n kpi2_comments = ''\n kpi3_comments = ''\n kpi4_comments = ''\n understanding_needs_client_particulars = ''\n understanding_needs_financial_objectives = ''\n understanding_needs_risk_tolerance = ''\n understanding_needs_employment_status = ''\n understanding_needs_financial_situation = ''\n understanding_needs_regular_income = ''\n understanding_needs_financial_commitment = ''\n understanding_needs_investment_portfolio = ''\n understanding_needs_proportion_amount = ''\n understanding_needs_conduct_cka = ''\n understanding_needs_valid_reason = ''\n sustainability_assumptions_used = ''\n sustainability_risk_profiling = ''\n sustainability_basis_of_recommendation = ''\n sustainability_financial_objectives = ''\n sustainability_is_affordable = ''\n sustainability_aligned_investment_horizon = ''\n sustainability_match_risk_profile = ''\n sustainability_concentration_risk = ''\n sustainability_particular_needs = ''\n sustainability_client_callback = ''\n sustainability_callback_adequately_performed = ''\n disclosure_client_sign = ''\n disclosure_needs_analysis = ''\n disclosure_prospectus = ''\n disclosure_benefit_illustration = ''\n disclosure_nature_objective = ''\n disclosure_details_provider = ''\n disclosure_party_against = ''\n disclosure_intended_client_profile = ''\n disclosure_frequency_reports = ''\n disclosure_frequency_period_payment = ''\n disclosure_benefits_product = ''\n disclosure_risk_factors = ''\n disclosure_amount_frequency_payment = ''\n disclosure_procedures_withdrawal = ''\n disclosure_warnings_exclusions = ''\n disclosure_freelook_period = ''\n ethics_any_indications = ''\n}\nexport class ClientSurvey {\n comprehensive_understand_financial_situation = ''\n comprehensive_felt_influenced = ''\n comprehensive_explain_influence = ''\n suitability_understand_explanation = ''\n disclosures_inform_aware = ''\n ethics_aspect_dissatisfied = ''\n suitability_dissatisfied_elaborate = ''\n kpi5_comments = ''\n kpi6_comments = ''\n kpi7_comments = ''\n kpi8_comments = ''\n}\nexport class Complaint {\n complaint_title = ''\n complaint_score = ''\n complaint_comments = ''\n}\n\nexport class Review {\n question = ''\n key? = ''\n colspan? = undefined\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!./AppForm.vue?vue&type=style&index=0&id=11928856&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!./AppCurrencyNA.vue?vue&type=style&index=0&id=423a3b72&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!./AppSectionNavi.vue?vue&type=style&index=0&id=5d1f1824&lang=scss&scoped=true&\"","'use strict';\n\n// there's 3 implementations written in increasing order of efficiency\n\n// 1 - no Set type is defined\nfunction uniqNoSet(arr) {\n\tvar ret = [];\n\n\tfor (var i = 0; i < arr.length; i++) {\n\t\tif (ret.indexOf(arr[i]) === -1) {\n\t\t\tret.push(arr[i]);\n\t\t}\n\t}\n\n\treturn ret;\n}\n\n// 2 - a simple Set type is defined\nfunction uniqSet(arr) {\n\tvar seen = new Set();\n\treturn arr.filter(function (el) {\n\t\tif (!seen.has(el)) {\n\t\t\tseen.add(el);\n\t\t\treturn true;\n\t\t}\n\t});\n}\n\n// 3 - a standard Set type is defined and it has a forEach method\nfunction uniqSetWithForEach(arr) {\n\tvar ret = [];\n\n\t(new Set(arr)).forEach(function (el) {\n\t\tret.push(el);\n\t});\n\n\treturn ret;\n}\n\n// V8 currently has a broken implementation\n// https://github.com/joyent/node/issues/8449\nfunction doesForEachActuallyWork() {\n\tvar ret = false;\n\n\t(new Set([true])).forEach(function (el) {\n\t\tret = el;\n\t});\n\n\treturn ret === true;\n}\n\nif ('Set' in global) {\n\tif (typeof Set.prototype.forEach === 'function' && doesForEachActuallyWork()) {\n\t\tmodule.exports = uniqSetWithForEach;\n\t} else {\n\t\tmodule.exports = uniqSet;\n\t}\n} else {\n\tmodule.exports = uniqNoSet;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\"},[_c('AppSectionNavi',{attrs:{\"header\":_vm.user.fullname,\"subheaders\":[_vm.user.email, _vm.user.systemrole],\"sections\":_vm.sections,\"useRouterPath\":false}},[_c('template',{slot:\"action\"},[_c('button',{staticClass:\"btn-default btn-save\",on:{\"click\":_vm.onSubmit}},[_vm._v(\"Save\")])])],2),_c('div',{staticClass:\"body\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"BSC Policy Review\")]),_c('div',{staticClass:\"form-body\"},[_c('AppForm',{attrs:{\"structures\":_vm.clientsReviewedtructure1,\"model\":_vm.clientsReviewed}}),_c('AppForm',{attrs:{\"structures\":_vm.bscRecordStructure,\"model\":_vm.bscRecord}}),_c('AppForm',{attrs:{\"structures\":_vm.clientPolicyStructure,\"model\":_vm.clientPolicy}}),_c('div',{staticClass:\"switch\"},[_c('div',[_c('p',[_vm._v(\"Submitted KYC PDF\")]),(_vm.clientPolicy.tagged_kyc)?_c('a',{attrs:{\"href\":'/live/' + _vm.clientPolicy.tagged_kyc,\"target\":\"_blank\"}},[_vm._v(\"Click here to open the submitted KYC\")]):_c('p',[_vm._v(\"There are no submitted KYC for this case\")])]),(!_vm.clientPolicy.tagged_kyc)?_c('div',[_c('p',[_vm._v(\"Hardcopy Submission\")]),_c('el-switch',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.clientsReviewed.is_hardcopy_sub),callback:function ($$v) {_vm.$set(_vm.clientsReviewed, \"is_hardcopy_sub\", $$v)},expression:\"clientsReviewed.is_hardcopy_sub\"}})],1):_vm._e()]),_c('hr',{staticStyle:{\"margin\":\"1.5rem 0\"}}),_c('AppForm',{attrs:{\"structures\":_vm.clientsReviewedtructure2,\"model\":_vm.clientsReviewed}}),_c('span',{staticClass:\"note\"},[_vm._v(\" Errors or oversights that are of an administrative nature, which do NOT enter into BSC Grading. However, repeated (2 Quarters or more) Administrative Errors may be considered in BSC Grading. \")])],1),_c('div',{staticClass:\"title\"},[_vm._v(\" Documents Review \"),_c('button',{staticClass:\"btn-default\",on:{\"click\":function($event){_vm.isModalDocuments = true}}},[_vm._v(\" Review \")])]),_c('table',{staticClass:\"bordered\"},[_vm._m(0),_c('tbody',[_c('tr',[_c('td',[_vm._v(\"KPI 1 - Understanding a Client's Needs\")]),_c('td',[_vm._v(_vm._s(_vm.kpi1)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.documentsReview.kpi1_comments),expression:\"documentsReview.kpi1_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.documentsReview.kpi1_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.documentsReview, \"kpi1_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 2 - Suitability of Product Recommendations\")]),_c('td',[_vm._v(_vm._s(_vm.kpi2)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.documentsReview.kpi2_comments),expression:\"documentsReview.kpi2_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.documentsReview.kpi2_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.documentsReview, \"kpi2_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 3 - Adequacy of Information Disclosure\")]),_c('td',[_vm._v(_vm._s(_vm.kpi3)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.documentsReview.kpi3_comments),expression:\"documentsReview.kpi3_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.documentsReview.kpi3_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.documentsReview, \"kpi3_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 4 - Professionalism & Ethics\")]),_c('td',[_vm._v(_vm._s(_vm.kpi4)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.documentsReview.kpi4_comments),expression:\"documentsReview.kpi4_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.documentsReview.kpi4_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.documentsReview, \"kpi4_comments\", $event.target.value)}}})])])])]),_c('div',{staticClass:\"title\"},[_vm._v(\" Client Survey \"),_c('button',{staticClass:\"btn-default\",on:{\"click\":function($event){_vm.isModalSurvey = true}}},[_vm._v(\" Review \")])]),_c('table',{staticClass:\"bordered\"},[_vm._m(1),_c('tbody',[_c('tr',[_c('td',[_vm._v(\"KPI 5 - Comprehensive Questions / Undue Influence\")]),_c('td',[_vm._v(_vm._s(_vm.kpi5)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientSurvey.kpi5_comments),expression:\"clientSurvey.kpi5_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.clientSurvey.kpi5_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.clientSurvey, \"kpi5_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 6 - Product Suitability\")]),_c('td',[_vm._v(_vm._s(_vm.kpi6)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientSurvey.kpi6_comments),expression:\"clientSurvey.kpi6_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.clientSurvey.kpi6_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.clientSurvey, \"kpi6_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 7 - Product Disclosures\")]),_c('td',[_vm._v(_vm._s(_vm.kpi7)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientSurvey.kpi7_comments),expression:\"clientSurvey.kpi7_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.clientSurvey.kpi7_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.clientSurvey, \"kpi7_comments\", $event.target.value)}}})])]),_c('tr',[_c('td',[_vm._v(\"KPI 8 - Professionalism & Ethics\")]),_c('td',[_vm._v(_vm._s(_vm.kpi8)+\"%\")]),_c('td',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientSurvey.kpi8_comments),expression:\"clientSurvey.kpi8_comments\"}],attrs:{\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.clientSurvey.kpi8_comments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.clientSurvey, \"kpi8_comments\", $event.target.value)}}})])])])]),_c('div',{staticClass:\"title\"},[_vm._v(\" Complaints \"),_c('button',{staticClass:\"btn-default\",on:{\"click\":function($event){_vm.isModalComplaints = true}}},[_vm._v(\" Add New Complaint \")])]),_c('table',{staticClass:\"bordered\"},[_vm._m(2),(_vm.complaints.length)?_c('tbody',_vm._l((_vm.complaints),function(complaint,index){return _c('tr',{key:index},[_c('td',[_vm._v(_vm._s(complaint.complaint_title))]),_c('td',[_vm._v(_vm._s(complaint.complaint_score))]),_c('td',[_vm._v(_vm._s(complaint.complaint_comments))])])}),0):_c('tbody',[_vm._m(3)])])]),(_vm.isModalDocuments)?_c('AppDialog',{attrs:{\"size\":'large',\"hideFooter\":true},on:{\"close\":function($event){_vm.isModalDocuments = false}}},[_c('template',{slot:\"header\"},[_vm._v(\"Documents Review\")]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('el-tabs',{model:{value:(_vm.activeDocumentsName),callback:function ($$v) {_vm.activeDocumentsName=$$v},expression:\"activeDocumentsName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"Understanding A Client's Needs\",\"name\":\"first\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi1Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.documentsReview[review.key]),callback:function ($$v) {_vm.$set(_vm.documentsReview, review.key, $$v)},expression:\"documentsReview[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Not Applicable\",\"value\":\"notapplication\"}})],1)],1)])]}),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\" If the information referred to in the sections above is not collected and documented, is there a valid reason?\"),_c('br'),_vm._v(\"If yes, please specify the reason: \"),_c('el-input',{attrs:{\"disabled\":_vm.isDisabled,\"type\":\"textarea\",\"rows\":5},model:{value:(_vm.documentsReview.understanding_needs_valid_reason),callback:function ($$v) {_vm.$set(_vm.documentsReview, \"understanding_needs_valid_reason\", $$v)},expression:\"documentsReview.understanding_needs_valid_reason\"}})],1)])],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Sustainability of Porduct Recommendations\",\"name\":\"second\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi2Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.documentsReview[review.key]),callback:function ($$v) {_vm.$set(_vm.documentsReview, review.key, $$v)},expression:\"documentsReview[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Not Applicable\",\"value\":\"notapplication\"}})],1)],1)])]})],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Adequacy of Information Disclosure\",\"name\":\"third\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi3Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.documentsReview[review.key]),callback:function ($$v) {_vm.$set(_vm.documentsReview, review.key, $$v)},expression:\"documentsReview[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Not Applicable\",\"value\":\"notapplication\"}})],1)],1)])]})],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Professionalism & Ethics\",\"name\":\"fourth\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi4Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.documentsReview[review.key]),callback:function ($$v) {_vm.$set(_vm.documentsReview, review.key, $$v)},expression:\"documentsReview[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Not Applicable\",\"value\":\"notapplication\"}})],1)],1)])]})],2)])])],1)],1)],2):_vm._e(),(_vm.isModalSurvey)?_c('AppDialog',{attrs:{\"size\":'large',\"hideFooter\":true},on:{\"close\":function($event){_vm.isModalSurvey = false}}},[_c('template',{slot:\"header\"},[_vm._v(\"Client Survey\")]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('el-tabs',{model:{value:(_vm.activeDocumentsName),callback:function ($$v) {_vm.activeDocumentsName=$$v},expression:\"activeDocumentsName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"Comprehensive Questions / Undue Influence\",\"name\":\"first\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi5Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.clientSurvey[review.key]),callback:function ($$v) {_vm.$set(_vm.clientSurvey, review.key, $$v)},expression:\"clientSurvey[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Cannot Recall\",\"value\":\"cannotrecall\"}})],1)],1)])]}),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\" If yes, please explain how the representative had influenced you: \"),_c('el-input',{attrs:{\"disabled\":_vm.isDisabled,\"type\":\"textarea\",\"rows\":5},model:{value:(_vm.clientSurvey.comprehensive_explain_influence),callback:function ($$v) {_vm.$set(_vm.clientSurvey, \"comprehensive_explain_influence\", $$v)},expression:\"clientSurvey.comprehensive_explain_influence\"}})],1)])],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Product Suitability\",\"name\":\"second\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi6Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.clientSurvey[review.key]),callback:function ($$v) {_vm.$set(_vm.clientSurvey, review.key, $$v)},expression:\"clientSurvey[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Cannot Recall\",\"value\":\"cannotrecall\"}})],1)],1)])]})],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Product Disclosures\",\"name\":\"third\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi7Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.clientSurvey[review.key]),callback:function ($$v) {_vm.$set(_vm.clientSurvey, review.key, $$v)},expression:\"clientSurvey[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}}),_c('el-option',{attrs:{\"label\":\"Cannot Recall\",\"value\":\"cannotrecall\"}})],1)],1)])]}),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('table',{staticClass:\"table table-bordered\",staticStyle:{\"font-size\":\"12px\"}},[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Type of Invesment Product\")]),_c('th',[_vm._v(\"Brief Description of Invesment Product\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\"Structured Deposit\")]),_c('td',[_vm._v(\" i) ...you will not get back the full amount you have invested if you withdraw before the Maturity Date;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)...structured deposits are not fixed deposits or savings deposits, and are not covered under the deposit insurance scheme. \")])]),_c('tr',[_c('td',[_vm._v(\"Insurance or Investment-Linked Insurance Plans\")]),_c('td',[_vm._v(\" i) ...you will not get back the full amount paid if you terminate the plan early; (Note: This brief description is only intended for traditional insurance plans and may not be applicable to investment-linked insurance plans);\"),_c('br'),_vm._v(\" Or\"),_c('br'),_vm._v(\" i)....you will be subject to investment risk on the premium paid for investment-linked insurance plans;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)...there is a 14-day free look period, or you may cancel this insurance plan or investment-linked insurance plan (as the case may be) within 14 days from the date on which you receive the policy from the insurance company, and if so, you would be returned your money or premiums. \")])]),_c('tr',[_c('td',[_vm._v(\"Unit Trusts\")]),_c('td',[_vm._v(\" i)...an investment in unit trusts is subjected to investment risk;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)...there is a 7-day cancellation period and you would be returned your money, including the sales charge. \")])]),_c('tr',[_c('td',[_vm._v(\"Treasure Flow Products (For example: Dual currency returns, Equity-linked convertible invesment)\")]),_c('td',[_vm._v(\" i)...an investment in treasury flow products is subject to investment risks and you will incur a premature termination penalty if you terminate your investment before the Maturity Date;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)...you may or may not receive your original investment amount if you terminate the investment before its Maturity Date. \")])]),_c('tr',[_c('td',[_vm._v(\"Bonds\")]),_c('td',[_vm._v(\" i)...an investment in bonds is subject to investment risk;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)... if the bond is prematurely sold prior to maturity, the sale price of the bond will depend on prevailing market prices and may be higher or lower than the initial purchase price of the bond. \")])]),_c('tr',[_c('td',[_vm._v(\"Sturctured Note\")]),_c('td',[_vm._v(\" i)...an investment in a structured note is subject to investment risks and you will incur a premature termination penalty if you withdraw before its Maturity Date;\"),_c('br'),_vm._v(\" AND\"),_c('br'),_vm._v(\" ii)...there is a 7-day cancellation period where you would be returned your money. \")])])])])])])],2)])]),_c('el-tab-pane',{attrs:{\"label\":\"Professionalism & Ethics\",\"name\":\"fourth\"}},[_c('table',{staticClass:\"bordered\"},[_c('tbody',[_vm._l((_vm.kpi8Reviews),function(review,index){return [(review.colspan)?_c('tr',{key:index},[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(review.question))])]):_c('tr',{key:index},[_c('td',[_vm._v(_vm._s(review.question))]),_c('td',{attrs:{\"width\":\"150\"}},[_c('el-select',{attrs:{\"disabled\":_vm.isDisabled},model:{value:(_vm.clientSurvey[review.key]),callback:function ($$v) {_vm.$set(_vm.clientSurvey, review.key, $$v)},expression:\"clientSurvey[review.key]\"}},[_c('el-option',{attrs:{\"label\":\"Yes\",\"value\":\"yes\"}}),_c('el-option',{attrs:{\"label\":\"No\",\"value\":\"no\"}})],1)],1)])]}),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\" If yes, please elaborate: \"),_c('el-input',{attrs:{\"disabled\":_vm.isDisabled,\"type\":\"textarea\",\"rows\":5},model:{value:(_vm.clientSurvey.suitability_dissatisfied_elaborate),callback:function ($$v) {_vm.$set(_vm.clientSurvey, \"suitability_dissatisfied_elaborate\", $$v)},expression:\"clientSurvey.suitability_dissatisfied_elaborate\"}}),_c('small',{staticClass:\"form-text text-muted\"},[_vm._v(\" Note: If the ISA Unit has reasons to believe that there may be a potential infraction in relation to a sampled transaction, the ISA Unit may consider asking more specific questions, for example:\"),_c('br'),_vm._v(\" (i) Were you asked to sign blank or incomplete forms; or\"),_c('br'),_vm._v(\" (ii) Were you asked to sell part of your current investment portfolio and purchase another investment product without a clear explanation from the representative for the basis for so doing? \")])],1)])],2)])])],1)],1)],2):_vm._e(),(_vm.isModalComplaints)?_c('AppDialog',{on:{\"close\":function($event){_vm.isModalComplaints = false}}},[_c('template',{slot:\"header\"},[_vm._v(\"New Complaint\")]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('AppForm',{attrs:{\"structures\":_vm.newComplaintStructure,\"model\":_vm.newComplaint}})],1),_c('template',{slot:\"footer\"},[_c('button',{staticClass:\"btn-default\",on:{\"click\":_vm.saveComplaint}},[_vm._v(\"Save\")])])],2):_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(\"Component\")]),_c('th',[_vm._v(\"Score\")]),_c('th',[_vm._v(\"Comments\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Component\")]),_c('th',[_vm._v(\"Score\")]),_c('th',[_vm._v(\"Comments\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Complaint\")]),_c('th',[_vm._v(\"Score\")]),_c('th',[_vm._v(\"Comments\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{attrs:{\"colspan\":\"3\"}},[_vm._v(\"No complaint data found. Click 'Add New Complaint' to add new entry.\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading-screen\"},[_c('div',{staticClass:\"backdrop\"}),_c('div',{staticClass:\"content\"},[_c('LoadingBar',{staticClass:\"loading-bar\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator'\nimport LoadingBar from '@core/components/LoadingBar.vue'\n\n@Component({\n components: {\n LoadingBar\n }\n})\nexport default class LoadingScreen extends Vue {\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!./LoadingScreen.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!./LoadingScreen.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoadingScreen.vue?vue&type=template&id=7a38ecc8&scoped=true&\"\nimport script from \"./LoadingScreen.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoadingScreen.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LoadingScreen.vue?vue&type=style&index=0&id=7a38ecc8&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 \"7a38ecc8\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/camelcase */\nimport { inject } from 'inversify-props'\nimport API from '@core/services/API'\nimport { Component, Vue } from 'vue-property-decorator'\nimport AppSectionNavi from '@core/components/AppSectionNavi.vue'\nimport AppForm from '@core/components/AppForm.vue'\nimport LoadingScreen from '@core/components/LoadingScreen.vue'\nimport { FormStructure } from '@master/model/structure/FormStructure'\nimport { IDateService } from '@master/services/IDateService'\nimport { BscRecord, ClientPolicy, ClientsReviewed, ClientSurvey, Complaint, DocumentsReview, Review } from './bscClasses'\nimport { UIService } from '@core/services/UIService'\nimport { SharedVariable } from '@core/model/SharedVariable'\nimport { isEmpty } from 'lodash/fp'\nimport AppDialog from '@core/components/AppDialog.vue'\nimport { getChildSections } from '../userProfile/route/index'\n\ninterface User {\n oid: string;\n fullname: string;\n systemrole: string;\n email: string;\n}\n@Component({\n components: {\n AppSectionNavi,\n AppForm,\n LoadingScreen,\n AppDialog\n }\n})\nexport class BscPolicyReviewMixin extends Vue {\n @inject()\n private $api: API\n\n uiService: UIService\n\n @inject()\n private sharedVariable: SharedVariable\n\n @inject()\n private dateService: IDateService\n\n private userOid = ''\n private bscOid = ''\n private policyOid = ''\n private infractionOid = ''\n private user: User = {\n oid: '',\n fullname: '',\n systemrole: '',\n email: ''\n };\n\n private bscRecord = new BscRecord()\n\n private clientsReviewed = new ClientsReviewed()\n\n private clientPolicy = new ClientPolicy()\n\n private documentsReview = new DocumentsReview()\n\n private clientSurvey = new ClientSurvey()\n\n private newComplaint = new Complaint()\n\n private isModalDocuments = false\n private activeDocumentsName = 'first'\n private isModalSurvey = false\n private isModalComplaints = false\n\n private kpi1Reviews: Review[] = [\n {\n question: \"Did the representative document all of a client's personal particulars?(Name, age or date of birth, education qualifications, language proficiency)\",\n key: 'understanding_needs_client_particulars'\n },\n {\n question: 'Did the representative document the following client information:',\n colspan: true\n },\n {\n question: \"a) Financial objectives (Including the client's protection, savings, investments, or heath needs. Time horizon information should be indicated with the financial objectives)\",\n key: 'understanding_needs_financial_objectives'\n },\n {\n question: 'b) Risk tolerance or profile',\n key: 'understanding_needs_risk_tolerance'\n },\n {\n question: 'c) Occupation or employment status',\n key: 'understanding_needs_employment_status'\n },\n {\n question: 'd) Financial situation (Including assets, liabilities, cash flow and annual income)',\n key: 'understanding_needs_financial_situation'\n },\n {\n question: 'e) Source and amount of regular income',\n key: 'understanding_needs_regular_income'\n },\n {\n question: 'f) Financial commitments of the client',\n key: 'understanding_needs_financial_commitment'\n },\n {\n question: 'g) Current investment portfolio, including any life policies or collective investment schemes',\n key: 'understanding_needs_investment_portfolio'\n },\n {\n question: \"h) Proportion of amount to be invested to total assets (i.e. whether the amount to be invested is a substantial portion of the client's assets)\",\n key: 'understanding_needs_proportion_amount'\n },\n {\n question: 'i) For any recommendation made in respect of any life policy, the number of dependants of the client and the extent and duration of financial support required for each of the dependants where the client has a joint investment application, did the representative conduct the Client Knowledge Assessment for both account owners?',\n key: 'understanding_needs_conduct_cka'\n }\n ]\n\n private kpi2Reviews: Review[] = [\n {\n question: 'Did the representative document the assumptions used for his recommendation (e.g. return on investment, inflation rate, education costs, or retirement age of the client) and are these assumptions reasonable?',\n key: 'sustainability_assumptions_used'\n },\n {\n question: 'Did the representative conduct a risk profiling for the client?',\n key: 'sustainability_risk_profiling'\n },\n {\n question: 'Did the representative document the basis of recommendation for the investment product recommended?',\n key: 'sustainability_basis_of_recommendation'\n },\n {\n question: 'Did the representative recommend an investment product which: ',\n colspan: true\n },\n {\n question: 'a) meets the financial objectives of the client',\n key: 'sustainability_financial_objectives'\n },\n {\n question: 'b) is affordable to the client',\n key: 'sustainability_is_affordable'\n },\n {\n question: \"c) is aligned with the client's investment horizon;\",\n key: 'sustainability_aligned_investment_horizon'\n },\n {\n question: \"d) matches the client's risk profile;\",\n key: 'sustainability_match_risk_profile'\n },\n {\n question: \"e) takes into account the client's concentration risk or\",\n key: 'sustainability_concentration_risk'\n },\n {\n question: \"f) takes into consideration the particular needs of the client (e.g. the number and age of the client's dependants)\",\n key: 'sustainability_particular_needs'\n },\n {\n question: 'Is there a file note, call-log or document annotation (whichever is applicable) on the client call-back by the supervisor?',\n key: 'sustainability_client_callback'\n },\n {\n question: 'Depending on whether there are facts and circumstances in a transaction which warrant a closer scrutiny, was the client callback adequately performed by the supervisor and did the supervisor ask the client relevant questions in relation to the transaction(e.g. if the client is an elderly person who has invested his CPF monies, did the supervisor ask if the client was aware on how the returns offered by the investment product compared with the interest rates earned by monies in the different CPF accounts held by the client?)',\n key: 'sustainability_callback_adequately_performed'\n }\n ]\n\n private kpi3Reviews: Review[] = [\n {\n question: 'Did the client sign the risk disclosure statement accompanying the investment product?',\n key: 'disclosure_client_sign'\n },\n {\n question: 'Did the client acknowledge receipt of the following documents:',\n colspan: true\n },\n {\n question: 'a) Financial Needs Analysis (Fact-find form, the specific recommendations of the representative and the basis for the recommendation)',\n key: 'disclosure_needs_analysis'\n },\n {\n question: 'b) Prospectus, fund factsheet, Product Summary or Product Highlight Sheet of the investment product',\n key: 'disclosure_prospectus'\n },\n {\n question: 'c) Benefit Illustration (for life policies)',\n key: 'disclosure_benefit_illustration'\n },\n {\n question: 'Is there a written acknowledgement from the client, that the following information, has been explained to the client:\\n(Note: A financial adviser should refer to the Notice on Information to Clients and Product Information Disclosure [Notice No. FAA N03] on its disclosure requirements)',\n colspan: true\n },\n {\n question: 'a) Nature and objective of the investment product',\n key: 'disclosure_nature_objective'\n },\n {\n question: 'b) Details of the product provider',\n key: 'disclosure_details_provider'\n },\n {\n question: 'c) Party against whom the client may take action to enforce his rights with respect to the investment product purchased by the client',\n key: 'disclosure_party_against'\n },\n {\n question: 'd) Intended client profile of the investment product',\n key: 'disclosure_intended_client_profile'\n },\n {\n question: 'e) Frequency of the reports and source from which the client could reasonably be expected to receive the reports on the investment product',\n key: 'disclosure_frequency_reports'\n },\n {\n question: 'f) Amount of, frequency with which, and period over which payment is to be made by the client in respect of the investment product',\n key: 'disclosure_frequency_period_payment'\n },\n {\n question: 'g) Benefits of the investment product, including the amount and timing for payment of benefits by the product provider and whether the benefits are guaranteed or non-guaranteed. For example:\\n- Whether capital or return is guaranteed\\n- Where the investment product is a life policy, reasons why any benefit is excluded by the life insurer in respect of the life policy',\n key: 'disclosure_benefits_product'\n },\n {\n question: 'h) Risk factors of the investment product',\n key: 'disclosure_risk_factors'\n },\n {\n question: 'i) Amount, frequency of payment, and nature, of fees and charges to be borne by the client',\n key: 'disclosure_amount_frequency_payment'\n },\n {\n question: 'j) Procedures, charges and restrictions on withdrawal or surrender of, or claim on, the investment product',\n key: 'disclosure_procedures_withdrawal'\n },\n {\n question: 'k) Warnings, exclusions and caveats in relation to the investment product',\n key: 'disclosure_warnings_exclusions'\n },\n {\n question: 'l) Free-look period for life policies or cancellation period for unit trusts (whichever is applicable)',\n key: 'disclosure_freelook_period'\n }\n ]\n\n private kpi4Reviews: Review[] = [\n {\n question: 'Based on documentation reviewed, are there any indications that a representative has conducted himself unprofessionally or unethically?\\nFor example, are there any indications that the documentation has been tampered with (e.g. use of correction-pens on material information and the correction made has not been acknowledged by client)?',\n key: 'ethics_any_indications'\n }\n ]\n\n private kpi5Reviews: Review[] = [\n {\n question: 'Did the representative ask you questions in order to understand your financial situation, investment objective and risk appetite before recommending an investment product?',\n key: 'comprehensive_understand_financial_situation'\n },\n {\n question: 'Was there any instance during the financial advisory process where you felt that your representative had influenced you to provide an answer or influenced you to modify your original answer to an answer that you are uncomfortable with as it is inaccurate or does not represent your intention?',\n key: 'comprehensive_felt_influenced'\n }\n ]\n\n private kpi6Reviews: Review[] = [\n {\n question: 'Did you understand the representative\\'s explanation as to why an investment product is suitable for you?',\n key: 'suitability_understand_explanation'\n }\n ]\n\n private kpi7Reviews: Review[] = [\n {\n question: 'Did the representative inform you that you have purchased a .....(Please refer to type of investment product as set out in the first column of the table below), and are you aware that (Please refer to corresponding brief description of the investment product as set out in the second column of the table below)?',\n key: 'disclosures_inform_aware'\n }\n ]\n\n private kpi8Reviews: Review[] = [\n {\n question: 'Were there any aspects of the sales process that you were dissatisfied with?',\n key: 'ethics_aspect_dissatisfied'\n }\n ]\n\n private complaints: Complaint[] = []\n\n async mounted () {\n // take injected UIService and set it to local\n this.uiService = this.sharedVariable.uiService\n\n this.userOid = this.$router.currentRoute.query.userOid as string\n this.bscOid = this.$router.currentRoute.query.bscOid as string\n this.policyOid = this.$router.currentRoute.query.policyOid as string\n this.infractionOid = this.$router.currentRoute.query.infractionOid as string\n await this.getUser()\n await this.getBscRecord()\n await this.getClientsReviewed()\n await this.getClientPolicy()\n }\n\n async getUser () {\n if (!this.userOid) {\n this.user.oid = this.currentUser.accountID\n this.user.fullname = this.currentUser.fullname\n this.user.systemrole = this.currentUser.systemrole\n this.user.email = this.currentUser.email\n } else {\n const response = await this.$api.account\n .loginMetaGet({\n _oid: this.userOid\n })\n this.user.oid = response.meta._oid\n this.user.fullname = response.meta.fullname\n this.user.systemrole = response.meta.systemrole\n this.user.email = response.meta.email\n }\n }\n\n async getBscRecord () {\n const response = await this.$api.bscRecords.getReviewMeta({\n _oid: this.bscOid\n })\n this.bscRecord = response.meta\n }\n\n get sections () {\n const sectionsList = getChildSections(this.currentUser.systemrole, this.$router) || []\n return sectionsList.map(routes => {\n return {\n ...routes,\n path: `/user/${this.userOid}/${routes.path}`\n }\n }) || []\n }\n\n get newComplaintStructure (): FormStructure {\n return [\n {\n label: 'Complaint',\n key: 'complaint_title',\n disabled: this.isDisabled\n },\n {\n label: 'Score',\n key: 'complaint_score',\n disabled: this.isDisabled\n },\n {\n label: 'Comments',\n key: 'complaint_comments',\n type: 'textarea',\n classes: ['colspan'],\n disabled: this.isDisabled\n }\n ]\n }\n\n get bscRecordStructure (): FormStructure {\n return [\n {\n label: 'Date Completed',\n key: 'date_completed',\n type: 'date',\n disabled: true\n },\n {\n label: 'Representative Name',\n key: 'adviser_name',\n disabled: true\n },\n {\n label: 'ISAU Reviewer',\n key: 'isau_reviewer',\n disabled: true\n },\n {\n label: 'BSC Review Year',\n key: 'review_year',\n disabled: true\n },\n {\n label: 'BSC Review Quarter',\n key: 'review_quarter',\n disabled: true\n }\n ]\n }\n\n get currentUser () {\n return this.$store.getters.currentUser\n }\n\n get isDisabled () {\n const userRole = this.currentUser.systemrole\n return !(userRole === 'ops-staff' || userRole === 'bsc-reviewer')\n }\n\n bscReviewerRestriction (sectionName) {\n return this.currentUser.systemrole === 'bsc-reviewer' && sectionName !== 'User BSC Records'\n }\n\n async getClientsReviewed () {\n if (!this.infractionOid) {\n await this.uiService.alert.show({\n type: 'error',\n message: 'Invalid Policy Infraction Oid'\n })\n return\n }\n const response = await this.$api.bscRecords.getClientMeta({\n _oid: this.infractionOid\n })\n if (!response.meta) {\n return\n }\n\n this.clientsReviewed = response.meta\n if (!isEmpty(this.clientsReviewed.documents_review)) this.documentsReview = JSON.parse(response.meta.documents_review)\n if (!isEmpty(this.clientsReviewed.client_survey)) this.clientSurvey = JSON.parse(response.meta.client_survey)\n if (!isEmpty(this.clientsReviewed.complaints)) this.complaints = JSON.parse(response.meta.complaints)\n }\n\n get clientsReviewedtructure1 (): FormStructure {\n return [\n {\n label: 'Client Name',\n key: 'client_name',\n disabled: true\n },\n {\n label: 'Sample Rounds',\n key: 'sample_rounds',\n disabled: true\n }\n ]\n }\n\n get clientsReviewedtructure2 (): FormStructure {\n return [\n {\n label: 'Cat 1 Infractions',\n key: 'cat_1_infraction_count',\n disabled: this.isDisabled\n },\n {\n label: 'Cat 2 Infractions',\n key: 'cat_2_infraction_count',\n disabled: this.isDisabled\n },\n {\n label: 'Admin Errors',\n key: 'admin_error_count',\n disabled: this.isDisabled\n },\n {\n label: 'Infraction Details',\n key: 'infraction_details',\n type: 'textarea',\n classes: ['colspan'],\n disabled: this.isDisabled\n },\n {\n label: 'Administrative Errors Details',\n key: 'admin_error_details',\n type: 'textarea',\n classes: ['colspan'],\n disabled: this.isDisabled\n }\n ]\n }\n\n async getClientPolicy () {\n const response = await this.$api.clientPolicy.meta({\n _oid: this.clientsReviewed.policy_oid\n })\n if (!response.meta) {\n return\n }\n this.clientPolicy.policy_name = response.meta.name\n this.clientPolicy.policy_number = response.meta.policy_number\n this.clientPolicy.tagged_kyc = response.meta.tagged_kyc ? 'kyc-pdf/' + response.meta.tagged_kyc : ''\n this.clientPolicy.client_oid = response.meta.client_oid\n this.clientPolicy.policy_url = `/live/policy/${this.clientsReviewed.policy_oid}/detail/nbr`\n }\n\n get clientPolicyStructure (): FormStructure {\n return [\n {\n label: 'Product Name',\n key: 'policy_name',\n disabled: true\n },\n {\n label: `Plan Reference No
<Page Link>`,\n key: 'policy_number',\n disabled: true\n }\n ]\n }\n\n get kpi1 () {\n let score = 0\n if (this.documentsReview.understanding_needs_client_particulars) {\n score++\n }\n if (this.documentsReview.understanding_needs_financial_objectives) {\n score++\n }\n if (this.documentsReview.understanding_needs_risk_tolerance) {\n score++\n }\n if (this.documentsReview.understanding_needs_employment_status) {\n score++\n }\n if (this.documentsReview.understanding_needs_financial_situation) {\n score++\n }\n if (this.documentsReview.understanding_needs_regular_income) {\n score++\n }\n if (this.documentsReview.understanding_needs_financial_commitment) {\n score++\n }\n if (this.documentsReview.understanding_needs_investment_portfolio) {\n score++\n }\n if (this.documentsReview.understanding_needs_proportion_amount) {\n score++\n }\n if (this.documentsReview.understanding_needs_conduct_cka) {\n score++\n }\n return ((score / 10) * 100).toFixed(0)\n }\n\n get kpi2 () {\n let score = 0\n if (this.documentsReview.sustainability_assumptions_used) {\n score++\n }\n if (this.documentsReview.sustainability_risk_profiling) {\n score++\n }\n if (this.documentsReview.sustainability_basis_of_recommendation) {\n score++\n }\n if (this.documentsReview.sustainability_financial_objectives) {\n score++\n }\n if (this.documentsReview.sustainability_is_affordable) {\n score++\n }\n if (this.documentsReview.sustainability_aligned_investment_horizon) {\n score++\n }\n if (this.documentsReview.sustainability_match_risk_profile) {\n score++\n }\n if (this.documentsReview.sustainability_concentration_risk) {\n score++\n }\n if (this.documentsReview.sustainability_particular_needs) {\n score++\n }\n if (this.documentsReview.sustainability_client_callback) {\n score++\n }\n if (this.documentsReview.sustainability_callback_adequately_performed) {\n score++\n }\n return ((score / 11) * 100).toFixed(0)\n }\n\n get kpi3 () {\n let score = 0\n if (this.documentsReview.disclosure_client_sign) {\n score++\n }\n if (this.documentsReview.disclosure_needs_analysis) {\n score++\n }\n if (this.documentsReview.disclosure_prospectus) {\n score++\n }\n if (this.documentsReview.disclosure_benefit_illustration) {\n score++\n }\n if (this.documentsReview.disclosure_nature_objective) {\n score++\n }\n if (this.documentsReview.disclosure_details_provider) {\n score++\n }\n if (this.documentsReview.disclosure_party_against) {\n score++\n }\n if (this.documentsReview.disclosure_intended_client_profile) {\n score++\n }\n if (this.documentsReview.disclosure_frequency_reports) {\n score++\n }\n if (this.documentsReview.disclosure_frequency_period_payment) {\n score++\n }\n if (this.documentsReview.disclosure_benefits_product) {\n score++\n }\n if (this.documentsReview.disclosure_risk_factors) {\n score++\n }\n if (this.documentsReview.disclosure_amount_frequency_payment) {\n score++\n }\n if (this.documentsReview.disclosure_procedures_withdrawal) {\n score++\n }\n if (this.documentsReview.disclosure_warnings_exclusions) {\n score++\n }\n if (this.documentsReview.disclosure_freelook_period) {\n score++\n }\n return ((score / 16) * 100).toFixed(0)\n }\n\n get kpi4 () {\n let score = 0\n if (this.documentsReview.ethics_any_indications) {\n score++\n }\n return ((score / 1) * 100).toFixed(0)\n }\n\n get kpi5 () {\n let score = 0\n if (this.clientSurvey.comprehensive_understand_financial_situation) {\n score++\n }\n if (this.clientSurvey.comprehensive_felt_influenced) {\n score++\n }\n return ((score / 2) * 100).toFixed(0)\n }\n\n get kpi6 () {\n let score = 0\n if (this.clientSurvey.suitability_understand_explanation) {\n score++\n }\n return ((score / 1) * 100).toFixed(0)\n }\n\n get kpi7 () {\n let score = 0\n if (this.clientSurvey.disclosures_inform_aware) {\n score++\n }\n return ((score / 1) * 100).toFixed(0)\n }\n\n get kpi8 () {\n let score = 0\n if (this.clientSurvey.ethics_aspect_dissatisfied) {\n score++\n }\n return ((score / 1) * 100).toFixed(0)\n }\n\n async onSubmit () {\n const data: any = Object.assign({}, this.clientsReviewed)\n data.documents_review = JSON.stringify(this.documentsReview)\n data.client_survey = JSON.stringify(this.clientSurvey)\n data.complaints = JSON.stringify(this.complaints)\n if (data.cat_1_infraction_count?.toString().length === 0) {\n data.cat_1_infraction_count = null\n }\n if (data.cat_2_infraction_count?.toString().length === 0) {\n data.cat_2_infraction_count = null\n }\n if (data.admin_error_count?.toString().length === 0) {\n data.admin_error_count = null\n }\n await this.$api.bscRecords\n .saveClientMeta({\n _oid: this.infractionOid,\n meta: JSON.stringify(data)\n })\n\n await this.$api.bscRecords.updateInfractionTotal({\n bsc_quarter_oid: this.bscOid\n })\n await this.uiService.alert.show({\n type: 'success',\n message: 'Save successful'\n })\n }\n\n async saveComplaint () {\n this.complaints.push(this.newComplaint)\n this.isModalComplaints = false\n this.newComplaint = new Complaint()\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { BscPolicyReviewMixin } from './BscPolicyReviewMixin'\n\nexport default class BscPolicyReview extends Mixins(BscPolicyReviewMixin) {\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!./BscPolicyReview.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!./BscPolicyReview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BscPolicyReview.vue?vue&type=template&id=3bc808f6&scoped=true&\"\nimport script from \"./BscPolicyReview.vue?vue&type=script&lang=ts&\"\nexport * from \"./BscPolicyReview.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BscPolicyReview.vue?vue&type=style&index=0&id=3bc808f6&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 \"3bc808f6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"column-group\",style:(_vm.gridStyle),attrs:{\"id\":\"app-form\"}},[_vm._l((_vm.structuresDetails),function(structure){return [(_vm.shouldShow(structure.show))?_c('div',{key:structure.key,staticClass:\"input-group-with-theme\",class:[{ 'input-disabled': _vm.shouldDisabled(structure.disabled)}, _vm.getCustomClass(structure)],attrs:{\"has-msg\":structure.hasErrors,\"focusing\":_vm.focusId == _vm.getId(structure.key),\"id\":(\"box-\" + (_vm.getId(structure.key)))},on:{\"click\":function($event){return _vm.focusInner(structure)}}},[[(structure.labelModel)?_c('input',{staticClass:\"label\",attrs:{\"type\":\"text\",\"placeholder\":structure.label,\"data-test\":(\"label-input:\" + (_vm.getTestId(structure.key)))},domProps:{\"value\":_vm.labelModelValue(structure.labelModel.get())},on:{\"input\":function($event){return structure.labelModel.set($event.target.value)}}}):(structure.labelKey)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model[structure.labelKey]),expression:\"model[structure.labelKey]\"}],staticClass:\"label\",attrs:{\"type\":\"text\",\"data-test\":(\"label-input:\" + (_vm.getTestId(structure.key)))},domProps:{\"value\":(_vm.model[structure.labelKey])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, structure.labelKey, $event.target.value)}}}):_vm._e(),(structure.labelModel || structure.labelKey)?_c('i',{staticClass:\"fa fa-pencil-alt right-sided\"}):(structure.type === 'single-checkbox')?_c('span'):_c('label',{attrs:{\"for\":_vm.getId(structure.key),\"id\":_vm.getId(structure.key) + '_label'},domProps:{\"innerHTML\":_vm._s(structure.label)}}),(structure.tooltip)?_c('AppTooltip',{attrs:{\"tooltipConfig\":structure.tooltip}}):_vm._e(),(_vm.isModernTheme)?_vm._l((structure.errors),function(ref,eidx){\nvar msg = ref.msg;\nreturn _c('div',{key:((structure.key) + \"-error-\" + eidx),staticClass:\"form-msg\",class:{\n full:\n eidx === 0 || _vm.fullErr === ((structure.key) + \"-error-\" + eidx),\n },on:{\"click\":function($event){_vm.fullErr = (structure.key) + \"-error-\" + eidx}}},[_c('el-tooltip',[_c('span',{staticClass:\"el-icon-warning\"}),_c('span',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_vm._v(_vm._s(msg))])])],1)}):_vm._e()],(structure.options && structure.type === 'smart')?_c('AppSmartSelect',{attrs:{\"options\":structure.options,\"value\":_vm.model[structure.key],\"multiple\":structure.multiple,\"cols\":structure.optionCols,\"multiLimit\":structure.multiLimit,\"buttonName\":structure.buttonName,\"cycleMode\":structure.cycleMode,\"displayDirection\":structure.displayDirection,\"disabled\":_vm.shouldDisabled(structure.disabled)},on:{\"input\":function($event){return _vm.setValue(structure, $event)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'single-checkbox')?_c('el-checkbox',{attrs:{\"value\":_vm.getValue(structure),\"disabled\":_vm.shouldDisabled(structure.disabled)},on:{\"change\":function($event){return _vm.setValue(structure, $event)}}},[_vm._v(\" \"+_vm._s(structure.label)+\" \")]):(structure.options && structure.type === 'checkbox')?_c('AppCheckboxGroup',{attrs:{\"structure\":structure,\"model\":_vm.model,\"column\":structure.checkboxColumnNo,\"compact\":structure.compact},on:{\"change\":function($event){return _vm.setValue(structure, $event)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.options && structure.type === 'radio')?_c('AppRadioSelection',{attrs:{\"options\":structure.options,\"value\":_vm.model[structure.key],\"buttonName\":structure.buttonName,\"displayDirection\":structure.displayDirection,\"disabled\":_vm.shouldDisabled(structure.disabled)},on:{\"input\":function($event){return _vm.setValue(structure, $event)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'multi')?_c('el-select',{staticClass:\"form-multi-select\",attrs:{\"value\":_vm.getValue(structure),\"disabled\":_vm.shouldDisabled(structure.disabled),\"multiple\":\"\",\"collapse-tags\":\"\",\"size\":'small',\"popper-class\":'wen-popper-class'},on:{\"change\":function($event){return _vm.setValue(structure, $event)}}},_vm._l((structure.options),function(option,index){return _c('el-option',{key:index,attrs:{\"value\":option.value,\"label\":option.label}})}),1):(structure.options)?_c('select',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"id\":_vm.getId(structure.key),\"data-test\":_vm.getTestId(structure.key),\"aria-labelledby\":_vm.getLabelId(structure.key),\"disabled\":_vm.shouldDisabled(structure.disabled)},domProps:{\"value\":_vm.getValue(structure)},on:{\"input\":function($event){return _vm.setSelectValue($event.target, structure)}}},_vm._l((structure.options),function(option,index){return _c('option',{key:index,domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.label)+\" \")])}),0):(structure.type === 'decimal-number')?[_c('AppDecimalNumber',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"decimal\":structure.decimal,\"inputValue\":_vm.getValue(structure),\"disabled\":_vm.shouldDisabled(structure.disabled)},on:{\"input\":function($event){return _vm.setValue(structure, $event)}}})]:(structure.type === 'number' || structure.type === 'time' || structure.type === 'password')?_c('input',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"id\":_vm.getId(structure.key),\"data-test\":_vm.getTestId(structure.key),\"aria-labelledby\":_vm.getLabelId(structure.key),\"type\":structure.type,\"disabled\":_vm.shouldDisabled(structure.disabled),\"maxlength\":structure.maxChar},domProps:{\"value\":_vm.getValue(structure)},on:{\"input\":function($event){return _vm.setValue(structure, $event.target.value)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'currency')?_c('currency-input',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"id\":_vm.getId(structure.key),\"data-test\":_vm.getTestId(structure.key),\"currency\":structure.currencyFormat,\"aria-labelledby\":_vm.getLabelId(structure.key),\"value\":_vm.getValue(structure),\"disabled\":_vm.shouldDisabled(structure.disabled),\"precision\":structure.precision},on:{\"input\":function($event){return _vm.setValue(structure, $event)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'date' || structure.type === 'month')?_c('AppDateInput',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"value\":_vm.getValue(structure),\"id\":_vm.getId(structure.key),\"input-type\":structure.type,\"data-test\":_vm.getTestId(structure.key),\"aria-label\":structure.label,\"disabled\":_vm.shouldDisabled(structure.disabled),\"futureDate\":structure.futureDate,\"disabledFutureDate\":structure.disabledFutureDate},on:{\"input\":function($event){return _vm.setValue(structure, $event)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'textarea')?_c('textarea',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"id\":_vm.getId(structure.key),\"data-test\":_vm.getTestId(structure.key),\"aria-labelledby\":_vm.getLabelId(structure.key),\"disabled\":_vm.shouldDisabled(structure.disabled),\"maxlength\":structure.maxChar,\"rows\":structure.rows || 10},domProps:{\"value\":_vm.getValue(structure)},on:{\"input\":function($event){return _vm.setValue(structure, $event.target.value)},\"blur\":function($event){return _vm.blurHandler()}}}):(structure.type === 'table')?_c('AppFormTable',{staticClass:\"inner-table\",attrs:{\"innerTable\":true,\"vertical\":structure.isVertical,\"maxSize\":structure.maxSize,\"fields\":structure.columns,\"data\":_vm.getValueForTable(structure)},on:{\"add\":structure.add,\"remove\":structure.remove}}):(structure.type==='na-currency')?[_c('AppCurrencyNA',{attrs:{\"inputValue\":_vm.getValue(structure),\"disabled\":_vm.shouldDisabled(structure.disabled),\"maxlength\":structure.maxLength},on:{\"input\":function($event){return _vm.setValue(structure, $event)}}})]:_c('input',{class:{ 'myinfo-disabled': structure.isMyInfo },attrs:{\"id\":_vm.getId(structure.key),\"data-test\":_vm.getTestId(structure.key),\"aria-labelledby\":_vm.getLabelId(structure.key),\"type\":\"text\",\"disabled\":_vm.shouldDisabled(structure.disabled),\"maxlength\":structure.maxChar},domProps:{\"value\":_vm.getValue(structure)},on:{\"input\":function($event){return _vm.setValue(structure, $event.target.value)},\"blur\":function($event){return _vm.blurHandler(structure, $event.target.value)}}}),(structure.isMyInfo)?_c('img',{staticClass:\"input-hint logo\",attrs:{\"src\":require(\"@core/assets/myinfo-icon.svg\")}}):_vm._e(),(structure.counterMsg && _vm.isModernTheme)?_c('div',{staticClass:\"char-counter\"},[_vm._v(\" \"+_vm._s(structure.counterMsg)+\" \")]):_vm._e()],2):_vm._e()]})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputModal),expression:\"inputModal\"}],attrs:{\"maxlength\":_vm.maxlength,\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.inputModal)},on:{\"keypress\":function($event){return _vm.numberAndNAOnly($event)},\"blur\":function($event){return _vm.onBlur()},\"focus\":function($event){return _vm.onFocus()},\"select\":function($event){return _vm.onSelect($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.inputModal=$event.target.value}}}),(!_vm.disabled)?_c('div',{staticClass:\"char-counter\"},[_vm._v(\" \"+_vm._s(_vm.counterMsg)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator'\nimport { IProjectInfo } from '@master/config/IProjectInfo'\nimport { inject } from 'inversify-props'\n\n@Component\nexport default class AppCurrencyNA extends Vue {\n @Prop() inputValue\n @Prop({ default: true }) useCurrency!: boolean\n @Prop({ default: 10 }) maxlength?: number\n @Prop({ default: false }) disabled: boolean\n\n @inject()\n private projectInfo: IProjectInfo\n\n inputModal = ''\n textIsSelected = false\n\n get counterMsg () {\n if (typeof this.maxlength === 'undefined') return\n const number = this.convertCurrencyToNumber(this.inputModal)\n const remainingChar = this.maxlength - (number.toString().length || 0)\n return remainingChar > 0 ? `${remainingChar} letter(s) remaining` : 'Max character limit reached'\n }\n\n numberAndNAOnly (evt) {\n evt = (evt) || window.event\n const charCode = (evt.which) ? evt.which : evt.keyCode\n\n const currentValue = evt.target.value\n if (this.textIsSelected) {\n if (!this.isAlphabetN(charCode) && this.isNonNumber(charCode)) {\n evt.preventDefault()\n } else {\n this.textIsSelected = false\n }\n return true\n }\n\n // if current value is 'NA', cannot key in other character\n if (currentValue.toUpperCase() === 'NA') {\n evt.preventDefault()\n }\n\n // if current value is N, the followed char must be A\n if (this.isAlphabetN(currentValue.charCodeAt(0))) {\n if (this.isAlphabetA(charCode)) {\n return true\n }\n evt.preventDefault() // only can accept A\n }\n\n // if there is empty value, it can either key in char N or number only\n if (!currentValue) {\n if (this.isAlphabetN(charCode)) {\n return true\n }\n }\n\n // cannot key in non number value\n if (this.isNonNumber(charCode)) {\n evt.preventDefault()\n } else {\n return true\n }\n }\n\n isAlphabetN (charCode) {\n return charCode === 78 || charCode === 110\n }\n\n isAlphabetA (charCode) {\n return charCode === 65 || charCode === 97\n }\n\n isNonNumber (charCode) {\n return charCode > 31 && (charCode < 48 || charCode > 57)\n }\n\n onBlur () {\n if (!this.inputModal && this.inputModal !== '0') {\n this.inputModal = this.formatValue('')\n this.$emit('input', '')\n return\n }\n\n // format na to NA to display\n if (this.inputModal.toUpperCase() === 'NA') {\n this.inputModal = 'NA'\n this.$emit('input', 'NA')\n return\n }\n\n // in case only key in 'n' and on blur, format it to NA\n if (isNaN(Number(this.inputModal))) {\n this.inputModal = 'NA'\n this.$emit('input', 'NA')\n return\n }\n\n const number = this.convertCurrencyToNumber(this.inputModal)\n this.inputModal = this.formatValue(number)\n this.$emit('input', Number(number))\n }\n\n onFocus () {\n this.inputModal = this.convertCurrencyToNumber(this.inputModal)\n }\n\n onSelect () {\n this.textIsSelected = true\n }\n\n formatValue (source) {\n if (typeof source === 'string') {\n if (source.toUpperCase() === 'NA' || source === '') {\n return source\n }\n source = Number(source.replace('$', '').replace(',', ''))\n } else if (source === undefined || source == null) {\n source = ''\n }\n return this.useCurrency ? this.currencyPrefix + source?.toLocaleString('en-US') : source?.toLocaleString('en-US')\n }\n\n convertCurrencyToNumber (currency) {\n return currency.replaceAll(this.currencyPrefix, '').replaceAll(',', '')\n }\n\n get currencyPrefix () {\n return this.projectInfo.currency ?? 'SGD$'\n }\n\n @Watch('inputValue')\n inputValueOnChange () {\n if (this.inputValue || this.inputValue === '0' || Number(this.inputValue) === 0) {\n this.inputModal = this.formatValue(this.inputValue)\n } else {\n this.inputModal = this.formatValue('')\n }\n }\n\n mounted () {\n this.inputModal = this.formatValue(this.inputValue)\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!./AppCurrencyNA.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!./AppCurrencyNA.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppCurrencyNA.vue?vue&type=template&id=423a3b72&scoped=true&\"\nimport script from \"./AppCurrencyNA.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppCurrencyNA.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AppCurrencyNA.vue?vue&type=style&index=0&id=423a3b72&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 \"423a3b72\",\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { Base } from '@master/model/Base'\nimport { FormStructure, Input, TableSetup } from '@master/model/structure/FormStructure'\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator'\nimport AppCheckboxGroup from '@core/components/AppCheckboxGroup.vue'\nimport AppFormTable from '@core/components/AppFormTable.vue'\nimport AppRadioSelection from '@core/components/AppRadioSelection.vue'\nimport AppSmartSelect from '@core/components/AppSmartSelect.vue'\nimport { inject } from 'inversify-props'\nimport { IDateService } from '@master/services/IDateService'\nimport AppDateInput from './AppDateInput.vue'\nimport { getMaxChar } from '@master/annotation/MaxChar'\nimport { IProjectSettings } from '@master/config/IProjectSettings'\nimport { isUndefined } from 'lodash/fp'\nimport randomstring from 'randomstring'\nimport AppCurrencyNA from './AppCurrencyNA.vue'\nimport AppDecimalNumber from './AppDecimalNumber.vue'\nimport AppTooltip from './AppTooltip.vue'\n\n@Component({\n components: {\n AppSmartSelect,\n AppCheckboxGroup,\n AppRadioSelection,\n AppDateInput,\n AppFormTable,\n AppCurrencyNA,\n AppDecimalNumber,\n AppTooltip\n }\n})\n\nexport default class AppForm extends Vue {\n @Prop() readonly structures!: FormStructure[];\n @Prop() readonly model!: T;\n @Prop({ default: 1 }) readonly columns: number;\n @Prop() readonly errors?: { key: string; msg: string }[];\n @Prop({ default: () => { return Date.now() } })\n readonly uniqueID: string;\n\n @Prop({ default: false }) readonly readOnly: boolean;\n\n @inject()\n private dateService: IDateService;\n\n @inject()\n private projectSettings: IProjectSettings;\n\n private minimal = true;\n // private renderCnt = 0;\n private focusId = null;\n private fullErr = null;\n\n get structuresDetails () {\n return this.structures.map((structure) => {\n const key = (structure as any).key\n const errors = this.errors?.filter((err) => err.key === key) || []\n const maxChar = getMaxChar(this.model, key)\n const charLeft = this.getCharLeft(key)\n const counterMsg = this.getCounterMsg(maxChar, charLeft)\n return {\n errors,\n hasErrors: errors?.length > 0,\n maxChar,\n counterMsg,\n ...structure\n }\n })\n }\n\n get gridStyle () {\n return {\n gridTemplateColumns: `repeat(${this.columns}, minmax(0, 1fr))`\n }\n }\n\n get isModernTheme () {\n return this.projectSettings.theme === 'Modern'\n }\n\n getCounterMsg (maxChar, charLeft) {\n if (!this.isModernTheme) return '' // counterMsg only used in Modern Theme\n return maxChar ? charLeft > 0 ? `${charLeft} letters remaining` : 'Max character limit reached' : ''\n }\n\n shouldDisabled (condition: boolean | Function = false) {\n if (this.readOnly) return true\n if (condition === undefined) {\n return false\n } else if (condition instanceof Function) {\n return condition(this.model)\n } else {\n return condition\n }\n }\n\n shouldShow (condition: boolean | Function = true) {\n if (condition === undefined) {\n return false\n } else if (condition instanceof Function) {\n return condition(this.model)\n } else {\n return condition\n }\n }\n\n getValue (input: Input) {\n if (input.type === 'currency') {\n const oriValue = this.model[input.key]\n if (typeof oriValue === 'string' || oriValue instanceof String) {\n return Number(this.model[input.key])\n }\n }\n if (input.key) {\n return this.model[input.key]\n } else if (input.model) {\n return input.model.get()\n } else {\n throw new Error(\n `Invalid config for label ${input.label}: key or model is required`\n )\n }\n }\n\n /**\n * Return null as the label if it is empty so\n * that the placeholder will appear\n */\n labelModelValue (labelValue: string) {\n return !labelValue ? null : labelValue\n }\n\n getValueForTable (input: TableSetup) {\n if (input.key) {\n return this.model[input.key]\n } else if (input.data) {\n return input.data\n } else {\n throw new Error(\n `Invalid config for label ${input.label}: key or model is required`\n )\n }\n }\n\n // this is to resolve the issue of event.target.value is always passed as string, but our use cases might need number\n setSelectValue (event, structure) {\n const selectedOption = structure.options[event.selectedIndex]\n this.setValue(structure, selectedOption.value)\n }\n\n setValue (input: Input, _value: T[keyof T]) {\n const value: any = input.type === 'number' ? +_value || 0 : _value\n\n if (input.key) {\n if (input.onChange) {\n input.onChange(this.model[input.key], value)\n }\n // when only has getter (for currency input), sidestep the error\n try {\n this.model[input.key] = value\n } catch (ex) {}\n } else if (input.model) {\n if (input.onChange) {\n input.onChange(this.model[input.key], value)\n }\n return input.model.set(value)\n } else {\n throw new Error(`Invalid config for label ${input.label}: key or model is required`)\n }\n }\n\n getId (key: string) {\n if (this.model && 'snakeCaseKey' in this.model) {\n return `${this.uniqueID}_${this.model.snakeCaseKey(key)}`\n }\n\n if (isUndefined(key)) {\n key = randomstring.generate(6)\n }\n\n if (this.uniqueID) {\n return `${this.uniqueID}_${key}`\n }\n\n return `${key}`\n }\n\n getTestId (key: string) {\n if (this.model && 'snakeCaseKey' in this.model) {\n return `${this.model.snakeCaseKey(key)}`\n }\n return undefined\n }\n\n getLabelId (key: string) {\n return this.getId(key) + '_label'\n }\n\n arrangeCols () {\n const curAppForm = this.$el\n const hasOverflow = curAppForm.scrollWidth > curAppForm.clientWidth\n if (hasOverflow) this.minimal = true\n }\n\n blurHandler (input: Input, _value: T[keyof T]) {\n if (this.isModernTheme) {\n this.focusId = null\n }\n\n if (input && input?.onBlur) {\n input.onBlur(_value)\n }\n }\n\n // use to handle Modern theme\n focusInner (structure: any) {\n // this means label is also editable, thus do not auto focus input\n if (structure.labelModel || structure.labelKey || structure.model) return\n const eleId = this.getId(structure.key)\n this.focusId = eleId\n const ele = document.getElementById(eleId)\n if (ele) ele.focus()\n }\n\n getCharLeft (key: string) {\n const mc = getMaxChar(this.model, key)\n return mc ? mc - (this.model[key]?.length || 0) : mc\n }\n\n getCustomClass (structure) {\n return structure.classes ? [...structure.classes] : []\n }\n\n // @Watch('structures')\n // structuresUpdated () {\n // // this is to allow view to be updated when structures change\n // this.renderCnt++\n // }\n\n @Watch('structuresDetails', { deep: true })\n focusError (swe) {\n if (!this.isModernTheme) return // this is used for Modern Theme\n\n const first = swe.find((s) => 'msg' in s)\n if (!first) return\n const ele = document.getElementById(`box-${this.getId(first.key)}`)\n if (!ele) return\n ele.scrollIntoView({ behavior: 'smooth', block: 'end' })\n }\n\n updated () {\n this.arrangeCols()\n }\n\n mounted () {\n this.arrangeCols()\n window.addEventListener('resize', () => this.arrangeCols())\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!./AppForm.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!./AppForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppForm.vue?vue&type=template&id=11928856&scoped=true&\"\nimport script from \"./AppForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./AppForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AppForm.vue?vue&type=style&index=0&id=11928856&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 \"11928856\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}