{"version":3,"sources":["webpack:///./src/components/base/AppInput/Input.vue","webpack:///./node_modules/quasar/src/components/popup-proxy/QPopupProxy.js","webpack:///./src/components/base/AppInput/Input.vue?1d4f","webpack:///./node_modules/quasar/src/composables/private/use-file.js","webpack:///./node_modules/quasar/src/components/file/QFile.js","webpack:///./src/components/contents/Auth/Nin/nin.scss?7311","webpack:///./src/views/Auth/nin.vue","webpack:///./src/components/contents/Auth/Nin/index.vue","webpack:///./src/components/contents/Auth/Nin/index.vue?12d8","webpack:///./src/views/Auth/nin.vue?caa2","webpack:///./node_modules/quasar/src/components/chip/QChip.js","webpack:///./src/assets/overdraft-repay-info.svg","webpack:///./src/services/compliance.http.js"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","$props","label","_createVNode","_component_q_input","_mergeProps","ref","placeholder","placelabel","outlined","input-class","disable","bg-color","backgroundColor","model-value","modelValue","_cache","val","_ctx","$emit","$attrs","_createSlots","_","phone","_component_q_btn","flat","color","_hoisted_3","_hoisted_4","alt","src","$options","selectedCountry","icon","_hoisted_6","code","_component_q_menu","_Fragment","_renderList","$data","countries","country","_createBlock","_component_q_list","key","style","_component_q_item","clickable","onClick","$event","_hoisted_7","_hoisted_9","name","prepend","_renderSlot","$slots","appendAction","verifyCode","password","showPassword","_normalizeClass","date","size","unelevated","ripple","_component_q_popup_proxy","cover","transition-show","transition-hide","_component_q_date","_hoisted_10","props","type","Boolean","default","String","value","Number","countryCode","autoSuggest","data","content","this","methods","showSomething","computed","inputListeners","vm","$listeners","input","event","target","find","item","defineComponent","useAnchorProps","breakpoint","emits","setup","slots","emit","attrs","proxy","getCurrentInstance","$q","showing","popupRef","parseInt","canShow","useAnchor","getType","screen","width","height","onShow","evt","onHide","watch","Object","assign","show","hide","toggle","def","hSlot","popupProps","includes","maxHeight","component","QDialog","QMenu","contextMenu","noParentEvent","separateClosePopup","h","__exports__","render","QInput","QBtn","QList","QItem","QPopupProxy","QDate","ClosePopup","filterFiles","files","rejectedFiles","failedPropValidation","filterFn","acceptedFiles","forEach","file","push","stopAndPreventDrag","e","dataTransfer","dropEffect","stopAndPrevent","useFileProps","multiple","accept","capture","maxFileSize","maxTotalSize","maxFiles","filter","Function","useFileEmits","editable","dnd","getFileInput","addFilesToQueue","extensions","split","map","ext","trim","endsWith","slice","length","toUpperCase","maxFilesNumber","maxTotalSizeNumber","pickFiles","click","addFiles","processFiles","filesToProcess","currentFileList","append","Array","from","done","indexOf","some","startsWith","reduce","total","filteredFiles","filesNumber","onDragover","onDragleave","onDrop","getDndNode","onDragenter","useFieldProps","useFormProps","File","FileList","useChips","displayValue","tabindex","counterLabel","inputClass","inputStyle","useFieldEmits","state","useFieldState","inputRef","nameProp","useFormInputNameAttr","useFile","formDomProps","useFileFormDomProps","innerValue","hasValue","fieldValueIsFilled","selectedString","join","totalSize","humanStorageSize","acc","counterProps","inputAttrs","title","id","targetUid","disabled","isAppending","removeAtIndex","index","splice","emitValue","removeFile","findIndex","onKeyup","keyCode","fileList","every","f","concat","getFiller","getSelection","selected","i","QChip","removable","dense","textColor","onRemove","textContent","getInput","onChange","inheritAttrs","fieldClass","floatingLabel","computedCounter","max","getControlChild","getControl","targetRef","getNativeElement","useField","_component_Content","isCompliancePage","_component_q_card","_component_AppInput","maxLength","form","nin","lazy-rules","rules","required","digitLength","mask","_component_q_file","onFileUpload","ninImage","_withCtx","ninUploading","_imports_0","_component_AppButton","verifyNIN","loading","continueBtnLoading","ninImageUrl","components","AppInput","AppButton","mixins","authMixin","authRulesMixin","complianceService","authService","businessOwner","$store","getters","$route","fullPath","toFixed","showMessage","supported","uploadNIN","secure_url","error","_error$response","errMsg","response","message","documentNumber","documentUrl","success","$mixpanel","track","email","userVerifiedID","loginResponse","authenticateWithJwt","keysObj","setAuth","setVuexLoginDetails","$router","_error$response2","created","ComplianceService","$api1","$api2","AuthService","QCard","QFile","Content","defaultSizes","xs","sm","md","lg","xl","useDarkProps","useSizeProps","iconRight","iconRemove","iconSelected","square","outline","isDark","useDark","sizeStyle","useSize","hasLeftIcon","leftIcon","iconSet","chip","removeIcon","remove","isClickable","classes","text","attributes","getContent","child","QIcon","hMergeSlotSafely","hDir","Ripple","module","exports","Compliance","constructor","api","api2","http","http2","creeateBusiness","payload","post","getCode","verifyOtp","getBusinessCategories","get","individualBusinessVerification","updateKYC","validateCac","updateProfile","checkUser","updatePhone","put","phoneNumber","getTheseIndustries","documentBusiness","getBusinessDetails","getCities","getTowns","params","getSingleCustomer","verifyBvn","verifyBvnOtp","confirmMetaMapDocVerification","getAddress","businessId","getBVNConsent","body","FormData","axios","resolveNin"],"mappings":"2LACOA,MAAM,mB,GACFA,MAAM,oC,GAgBAA,MAAM,oB,GACJA,MAAM,Q,aAGLA,MAAM,gB,GAoBHA,MAAM,mB,aAGLA,MAAM,kC,GA8CXA,MAAM,gC,0ZA1FvBC,gCA4GM,MA5GNC,EA4GM,CA3GJC,gCAAmE,QAAnEC,EAAmEC,6BAAhBC,EAAAC,OAAK,GACxDC,yBAyGUC,EAzGVC,wBAyGU,CAxGRC,IAAI,WACHC,YAAaN,EAAAO,WACdC,SAAA,GACAC,cAAY,aACXC,QAASV,EAAAU,QACTC,WAAUX,EAAAY,gBACVC,cAAab,EAAAc,WACb,sBAAkBC,EAAA,KAAAA,EAAA,GAAGC,GAAQC,EAAAC,MAAM,oBAAqBF,KACjDC,EAAAE,QAAMC,yBAAA,CAAAC,EAAA,IAEErB,EAAAsB,M,MAAc,U,wBAE5B,IAoCM,CApCNzB,gCAoCM,YAnCJK,yBAkCQqB,EAAA,CAlCDC,KAAA,GAAK9B,MAAM,gCAAgC+B,MAAM,e,8BACtD,IAWM,CAXN5B,gCAWM,MAXN6B,EAWM,CAVJ7B,gCAEM,MAFN8B,EAEM,CADJ9B,gCAA2D,OAAtD+B,IAAI,GAAGlC,MAAM,WAAYmC,IAAKC,EAAAC,gBAAgBC,M,YAErDnC,gCAA6D,OAA7DoC,EAA2B,IAAClC,6BAAG+B,EAAAC,gBAAgBG,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MG,KAAK,2BAA4BD","file":"js/chunk-f6d5726e.e7ecf2d9.js","sourcesContent":["\n \n {{ label }}\n $emit('update:modelValue', val)\"\n v-bind=\"$attrs\"\n >\n \n \n \n \n \n \n \n \n +{{ selectedCountry.code }}\n \n \n \n\n \n \n \n \n \n \n {{\n country.name\n }}\n \n \n \n \n \n \n\n \n \n \n\n \n \n {{ verifyCode }}\n \n \n\n \n \n \n \n \n\n \n \n \n $emit('update:modelValue', val)\"\n >\n \n \n \n \n \n \n \n\n \n \n \n\n\n\n","import { h, defineComponent, ref, computed, watch, getCurrentInstance } from 'vue'\n\nimport QDialog from '../dialog/QDialog.js'\nimport QMenu from '../menu/QMenu.js'\n\nimport useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js'\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default defineComponent({\n name: 'QPopupProxy',\n\n props: {\n ...useAnchorProps,\n\n breakpoint: {\n type: [ String, Number ],\n default: 450\n }\n },\n\n emits: [ 'show', 'hide' ],\n\n setup (props, { slots, emit, attrs }) {\n const { proxy } = getCurrentInstance()\n const { $q } = proxy\n\n const showing = ref(false)\n const popupRef = ref(null)\n const breakpoint = computed(() => parseInt(props.breakpoint, 10))\n\n const { canShow } = useAnchor({ showing })\n\n function getType () {\n return $q.screen.width < breakpoint.value || $q.screen.height < breakpoint.value\n ? 'dialog'\n : 'menu'\n }\n\n const type = ref(getType())\n\n watch(() => getType(), val => {\n if (showing.value !== true) {\n type.value = val\n }\n })\n\n // expose public methods\n Object.assign(proxy, {\n show (evt) { canShow(evt) === true && popupRef.value.show(evt) },\n hide (evt) { popupRef.value.hide(evt) },\n toggle (evt) { popupRef.value.toggle(evt) }\n })\n\n function onShow (evt) {\n showing.value = true\n emit('show', evt)\n }\n\n function onHide (evt) {\n showing.value = false\n type.value = getType()\n emit('hide', evt)\n }\n\n return () => {\n const def = hSlot(slots.default)\n\n const popupProps = (\n type.value === 'menu'\n && def !== void 0\n && def[ 0 ] !== void 0\n && def[ 0 ].type !== void 0\n && [ 'QDate', 'QTime', 'QCarousel', 'QColor' ].includes(\n def[ 0 ].type.name\n )\n ) ? { cover: true, maxHeight: '99vh' } : {}\n\n const data = {\n ref: popupRef,\n ...popupProps,\n ...attrs,\n onShow,\n onHide\n }\n\n let component\n\n if (type.value === 'dialog') {\n component = QDialog\n }\n else {\n component = QMenu\n Object.assign(data, {\n target: props.target,\n contextMenu: props.contextMenu,\n noParentEvent: true,\n separateClosePopup: true\n })\n }\n\n return h(component, data, () => def)\n }\n }\n})\n","import { render } from \"./Input.vue?vue&type=template&id=32e746b9\"\nimport script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QMenu from 'quasar/src/components/menu/QMenu.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QPopupProxy from 'quasar/src/components/popup-proxy/QPopupProxy.js';\nimport QDate from 'quasar/src/components/date/QDate.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QInput,QBtn,QMenu,QList,QItem,QPopupProxy,QDate});qInstall(script, 'directives', {ClosePopup});\n","import { h, computed, getCurrentInstance } from 'vue'\n\nimport { stopAndPrevent } from '../../utils/event.js'\n\nfunction filterFiles (files, rejectedFiles, failedPropValidation, filterFn) {\n const acceptedFiles = []\n\n files.forEach(file => {\n if (filterFn(file) === true) {\n acceptedFiles.push(file)\n }\n else {\n rejectedFiles.push({ failedPropValidation, file })\n }\n })\n\n return acceptedFiles\n}\n\nfunction stopAndPreventDrag (e) {\n e && e.dataTransfer && (e.dataTransfer.dropEffect = 'copy')\n stopAndPrevent(e)\n}\n\nexport const useFileProps = {\n multiple: Boolean,\n accept: String,\n capture: String,\n maxFileSize: [ Number, String ],\n maxTotalSize: [ Number, String ],\n maxFiles: [ Number, String ],\n filter: Function\n}\n\nexport const useFileEmits = [ 'rejected' ]\n\nexport default function ({\n editable,\n dnd,\n getFileInput,\n addFilesToQueue\n}) {\n const { props, emit, proxy } = getCurrentInstance()\n\n const extensions = computed(() => (\n props.accept !== void 0\n ? props.accept.split(',').map(ext => {\n ext = ext.trim()\n if (ext === '*') { // support \"*\"\n return '*/'\n }\n else if (ext.endsWith('/*')) { // support \"image/*\" or \"*/*\"\n ext = ext.slice(0, ext.length - 1)\n }\n return ext.toUpperCase()\n })\n : null\n ))\n\n const maxFilesNumber = computed(() => parseInt(props.maxFiles, 10))\n const maxTotalSizeNumber = computed(() => parseInt(props.maxTotalSize, 10))\n\n function pickFiles (e) {\n if (editable.value) {\n const input = getFileInput()\n input && input.click(e)\n }\n }\n\n function addFiles (files) {\n if (editable.value && files) {\n addFilesToQueue(null, files)\n }\n }\n\n function processFiles (e, filesToProcess, currentFileList, append) {\n let files = Array.from(filesToProcess || e.target.files)\n const rejectedFiles = []\n\n const done = () => {\n if (rejectedFiles.length > 0) {\n emit('rejected', rejectedFiles)\n }\n }\n\n // filter file types\n if (props.accept !== void 0 && extensions.value.indexOf('*/') === -1) {\n files = filterFiles(files, rejectedFiles, 'accept', file => {\n return extensions.value.some(ext => (\n file.type.toUpperCase().startsWith(ext)\n || file.name.toUpperCase().endsWith(ext)\n ))\n })\n\n if (files.length === 0) { return done() }\n }\n\n // filter max file size\n if (props.maxFileSize !== void 0) {\n const maxFileSize = parseInt(props.maxFileSize, 10)\n files = filterFiles(files, rejectedFiles, 'max-file-size', file => {\n return file.size <= maxFileSize\n })\n\n if (files.length === 0) { return done() }\n }\n\n // Cordova/iOS allows selecting multiple files even when the\n // multiple attribute is not specified. We also normalize drag'n'dropped\n // files here:\n if (props.multiple !== true) {\n files = [ files[ 0 ] ]\n }\n\n if (props.maxTotalSize !== void 0) {\n let size = append === true\n ? currentFileList.reduce((total, file) => total + file.size, 0)\n : 0\n\n files = filterFiles(files, rejectedFiles, 'max-total-size', file => {\n size += file.size\n return size <= maxTotalSizeNumber.value\n })\n\n if (files.length === 0) { return done() }\n }\n\n // do we have custom filter function?\n if (typeof props.filter === 'function') {\n const filteredFiles = props.filter(files)\n files = filterFiles(files, rejectedFiles, 'filter', file => {\n return filteredFiles.includes(file)\n })\n }\n\n if (props.maxFiles !== void 0) {\n let filesNumber = append === true\n ? currentFileList.length\n : 0\n\n files = filterFiles(files, rejectedFiles, 'max-files', () => {\n filesNumber++\n return filesNumber <= maxFilesNumber.value\n })\n\n if (files.length === 0) { return done() }\n }\n\n done()\n\n if (files.length > 0) {\n return files\n }\n }\n\n function onDragover (e) {\n stopAndPreventDrag(e)\n dnd.value !== true && (dnd.value = true)\n }\n\n function onDragleave (e) {\n stopAndPrevent(e)\n dnd.value = false\n }\n\n function onDrop (e) {\n stopAndPreventDrag(e)\n const files = e.dataTransfer.files\n\n if (files.length > 0) {\n addFilesToQueue(null, files)\n }\n\n dnd.value = false\n }\n\n function getDndNode (type) {\n if (dnd.value === true) {\n return h('div', {\n class: `q-${ type }__dnd absolute-full`,\n onDragenter: stopAndPreventDrag,\n onDragover: stopAndPreventDrag,\n onDragleave,\n onDrop\n })\n }\n }\n\n // expose public methods\n Object.assign(proxy, { pickFiles, addFiles })\n\n return {\n pickFiles,\n addFiles,\n onDragover,\n processFiles,\n getDndNode,\n maxFilesNumber,\n maxTotalSizeNumber\n }\n}\n","import { h, defineComponent, ref, computed, getCurrentInstance } from 'vue'\n\nimport QChip from '../chip/QChip.js'\n\nimport useField, { useFieldState, useFieldProps, useFieldEmits, fieldValueIsFilled } from '../../composables/private/use-field.js'\nimport { useFormProps, useFormInputNameAttr } from '../../composables/private/use-form.js'\nimport useFile, { useFileProps, useFileEmits } from '../../composables/private/use-file.js'\nimport useFileFormDomProps from '../../composables/private/use-file-dom-props.js'\n\nimport { humanStorageSize } from '../../utils/format.js'\n\nexport default defineComponent({\n name: 'QFile',\n\n props: {\n ...useFieldProps,\n ...useFormProps,\n ...useFileProps,\n\n /* SSR does not know about File & FileList */\n modelValue: __QUASAR_SSR_SERVER__\n ? {}\n : [ File, FileList, Array ],\n\n append: Boolean,\n useChips: Boolean,\n displayValue: [ String, Number ],\n\n tabindex: {\n type: [ String, Number ],\n default: 0\n },\n\n counterLabel: Function,\n\n inputClass: [ Array, String, Object ],\n inputStyle: [ Array, String, Object ]\n },\n\n emits: [\n ...useFieldEmits,\n ...useFileEmits\n ],\n\n setup (props, { slots, emit, attrs }) {\n const { proxy } = getCurrentInstance()\n\n const state = useFieldState()\n\n const inputRef = ref(null)\n const dnd = ref(false)\n const nameProp = useFormInputNameAttr(props)\n\n const {\n pickFiles,\n onDragover,\n processFiles,\n getDndNode\n } = useFile({ editable: state.editable, dnd, getFileInput, addFilesToQueue })\n\n const formDomProps = useFileFormDomProps(props)\n\n const innerValue = computed(() => (\n Object(props.modelValue) === props.modelValue\n ? ('length' in props.modelValue ? Array.from(props.modelValue) : [ props.modelValue ])\n : []\n ))\n\n const hasValue = computed(() => fieldValueIsFilled(innerValue.value))\n\n const selectedString = computed(() =>\n innerValue.value\n .map(file => file.name)\n .join(', ')\n )\n\n const totalSize = computed(() =>\n humanStorageSize(\n innerValue.value.reduce((acc, file) => acc + file.size, 0)\n )\n )\n\n const counterProps = computed(() => ({\n totalSize: totalSize.value,\n filesNumber: innerValue.value.length,\n maxFiles: props.maxFiles\n }))\n\n const inputAttrs = computed(() => ({\n tabindex: -1,\n type: 'file',\n title: '', // try to remove default tooltip,\n accept: props.accept,\n capture: props.capture,\n name: nameProp.value,\n ...attrs,\n id: state.targetUid.value,\n disabled: state.editable.value !== true\n }))\n\n const isAppending = computed(() =>\n props.multiple === true && props.append === true\n )\n\n function removeAtIndex (index) {\n const files = innerValue.value.slice()\n files.splice(index, 1)\n emitValue(files)\n }\n\n function removeFile (file) {\n const index = innerValue.value.findIndex(file)\n if (index > -1) {\n removeAtIndex(index)\n }\n }\n\n function emitValue (files) {\n emit('update:modelValue', props.multiple === true ? files : files[ 0 ])\n }\n\n function onKeyup (e) {\n // only on ENTER\n e.keyCode === 13 && pickFiles(e)\n }\n\n function getFileInput () {\n return inputRef.value\n }\n\n function addFilesToQueue (e, fileList) {\n const files = processFiles(e, fileList, innerValue.value, isAppending.value)\n\n // if nothing to do...\n if (files === void 0) { return }\n\n // protect against input @change being called in a loop\n // like it happens on Safari, so don't emit same thing:\n if (\n props.multiple === true\n ? props.modelValue && files.every(f => innerValue.value.includes(f))\n : props.modelValue === files[ 0 ]\n ) {\n return\n }\n\n emitValue(\n isAppending.value === true\n ? innerValue.value.concat(files)\n : files\n )\n }\n\n function getFiller () {\n return [\n h('input', {\n class: [ props.inputClass, 'q-file__filler' ],\n style: props.inputStyle,\n tabindex: -1\n })\n ]\n }\n\n function getSelection () {\n if (slots.file !== void 0) {\n return innerValue.value.length === 0\n ? getFiller()\n : innerValue.value.map(\n (file, index) => slots.file({ index, file, ref: this })\n )\n }\n\n if (slots.selected !== void 0) {\n return innerValue.value.length === 0\n ? getFiller()\n : slots.selected({ files: innerValue.value, ref: this })\n }\n\n if (props.useChips === true) {\n return innerValue.value.length === 0\n ? getFiller()\n : innerValue.value.map((file, i) => h(QChip, {\n key: 'file-' + i,\n removable: state.editable.value,\n dense: true,\n textColor: props.color,\n tabindex: props.tabindex,\n onRemove: () => { removeAtIndex(i) }\n }, () => h('span', {\n class: 'ellipsis',\n textContent: file.name\n })))\n }\n\n const textContent = props.displayValue !== void 0\n ? props.displayValue\n : selectedString.value\n\n return textContent.length > 0\n ? [\n h('div', {\n class: props.inputClass,\n style: props.inputStyle,\n textContent\n })\n ]\n : getFiller()\n }\n\n function getInput () {\n const data = {\n ref: inputRef,\n ...inputAttrs.value,\n ...formDomProps.value,\n class: 'q-field__input fit absolute-full cursor-pointer',\n onChange: addFilesToQueue\n }\n\n if (props.multiple === true) {\n data.multiple = true\n }\n\n return h('input', data)\n }\n\n Object.assign(state, {\n inheritAttrs: true,\n fieldClass: { value: 'q-file q-field--auto-height' },\n emitValue,\n hasValue,\n inputRef,\n innerValue,\n\n floatingLabel: computed(() =>\n hasValue.value === true\n || fieldValueIsFilled(props.displayValue)\n ),\n\n computedCounter: computed(() => {\n if (props.counterLabel !== void 0) {\n return props.counterLabel(counterProps.value)\n }\n\n const max = props.maxFiles\n return `${ innerValue.value.length }${ max !== void 0 ? ' / ' + max : '' } (${ totalSize.value })`\n }),\n\n getControlChild: () => getDndNode('file'),\n getControl: () => {\n const data = {\n ref: state.targetRef,\n class: 'q-field__native row items-center cursor-pointer',\n tabindex: props.tabindex\n }\n\n if (state.editable.value === true) {\n Object.assign(data, { onDragover, onKeyup })\n }\n\n return h('div', data, [ getInput() ].concat(getSelection()))\n }\n })\n\n // expose public methods\n Object.assign(proxy, {\n removeAtIndex,\n removeFile,\n getNativeElement: () => inputRef.value\n })\n\n return useField(state)\n }\n})\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./nin.scss?vue&type=style&index=0&id=45aafeeb&lang=scss&scoped=true\"","\n \n\n\n\n","\n \n \n \n National Identity Number (NIN)\n \n \n \n digitLength(nin, 11, 'NIN')]\"\n mask=\"###########\"\n />\n \n \n \n \n \n Upload\n \n \n \n Uploading document\n \n \n \n \n Preferred format: PNG, JPG. Max File size; 4MB\n \n \n \n \n \n \n \n \n\n\n\n\n\n","import { render } from \"./index.vue?vue&type=template&id=45aafeeb&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./nin.scss?vue&type=style&index=0&id=45aafeeb&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-45aafeeb\"]])\n\nexport default __exports__\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QFile from 'quasar/src/components/file/QFile.js';\nimport qInstall from \"../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QCard,QFile});\n","import { render } from \"./nin.vue?vue&type=template&id=5e819431\"\nimport script from \"./nin.vue?vue&type=script&lang=js\"\nexport * from \"./nin.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { h, defineComponent, computed, getCurrentInstance } from 'vue'\n\nimport QIcon from '../icon/QIcon.js'\n\nimport Ripple from '../../directives/Ripple.js'\n\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\nimport useSize, { useSizeProps } from '../../composables/private/use-size.js'\n\nimport { stopAndPrevent } from '../../utils/event.js'\nimport { hMergeSlotSafely, hDir } from '../../utils/private/render.js'\n\nconst defaultSizes = {\n xs: 8,\n sm: 10,\n md: 14,\n lg: 20,\n xl: 24\n}\n\nexport default defineComponent({\n name: 'QChip',\n\n props: {\n ...useDarkProps,\n ...useSizeProps,\n\n dense: Boolean,\n\n icon: String,\n iconRight: String,\n iconRemove: String,\n iconSelected: String,\n label: [ String, Number ],\n\n color: String,\n textColor: String,\n\n modelValue: {\n type: Boolean,\n default: true\n },\n selected: {\n type: Boolean,\n default: null\n },\n\n square: Boolean,\n outline: Boolean,\n clickable: Boolean,\n removable: Boolean,\n\n tabindex: [ String, Number ],\n disable: Boolean,\n\n ripple: {\n type: [ Boolean, Object ],\n default: true\n }\n },\n\n emits: [ 'update:modelValue', 'update:selected', 'remove', 'click' ],\n\n setup (props, { slots, emit }) {\n const { proxy: { $q } } = getCurrentInstance()\n\n const isDark = useDark(props, $q)\n const sizeStyle = useSize(props, defaultSizes)\n\n const hasLeftIcon = computed(() => props.selected === true || props.icon !== void 0)\n\n const leftIcon = computed(() => (\n props.selected === true\n ? props.iconSelected || $q.iconSet.chip.selected\n : props.icon\n ))\n\n const removeIcon = computed(() => props.iconRemove || $q.iconSet.chip.remove)\n\n const isClickable = computed(() =>\n props.disable === false\n && (props.clickable === true || props.selected !== null)\n )\n\n const classes = computed(() => {\n const text = props.outline === true\n ? props.color || props.textColor\n : props.textColor\n\n return 'q-chip row inline no-wrap items-center'\n + (props.outline === false && props.color !== void 0 ? ` bg-${ props.color }` : '')\n + (text ? ` text-${ text } q-chip--colored` : '')\n + (props.disable === true ? ' disabled' : '')\n + (props.dense === true ? ' q-chip--dense' : '')\n + (props.outline === true ? ' q-chip--outline' : '')\n + (props.selected === true ? ' q-chip--selected' : '')\n + (isClickable.value === true ? ' q-chip--clickable cursor-pointer non-selectable q-hoverable' : '')\n + (props.square === true ? ' q-chip--square' : '')\n + (isDark.value === true ? ' q-chip--dark q-dark' : '')\n })\n\n const attributes = computed(() => (\n props.disable === true\n ? { tabindex: -1, 'aria-disabled': 'true' }\n : { tabindex: props.tabindex || 0 }\n ))\n\n function onKeyup (e) {\n e.keyCode === 13 /* ENTER */ && onClick(e)\n }\n\n function onClick (e) {\n if (!props.disable) {\n emit('update:selected', !props.selected)\n emit('click', e)\n }\n }\n\n function onRemove (e) {\n if (e.keyCode === void 0 || e.keyCode === 13) {\n stopAndPrevent(e)\n if (props.disable === false) {\n emit('update:modelValue', false)\n emit('remove')\n }\n }\n }\n\n function getContent () {\n const child = []\n\n isClickable.value === true && child.push(\n h('div', { class: 'q-focus-helper' })\n )\n\n hasLeftIcon.value === true && child.push(\n h(QIcon, {\n class: 'q-chip__icon q-chip__icon--left',\n name: leftIcon.value\n })\n )\n\n const label = props.label !== void 0\n ? [ h('div', { class: 'ellipsis' }, [ props.label ]) ]\n : void 0\n\n child.push(\n h('div', {\n class: 'q-chip__content col row no-wrap items-center q-anchor--skip'\n }, hMergeSlotSafely(slots.default, label))\n )\n\n props.iconRight && child.push(\n h(QIcon, {\n class: 'q-chip__icon q-chip__icon--right',\n name: props.iconRight\n })\n )\n\n props.removable === true && child.push(\n h(QIcon, {\n class: 'q-chip__icon q-chip__icon--remove cursor-pointer',\n name: removeIcon.value,\n ...attributes.value,\n onClick: onRemove,\n onKeyup: onRemove\n })\n )\n\n return child\n }\n\n return () => {\n if (props.modelValue === false) { return }\n\n const data = {\n class: classes.value,\n style: sizeStyle.value\n }\n\n isClickable.value === true && Object.assign(\n data,\n attributes.value,\n { onClick, onKeyup }\n )\n\n return hDir(\n 'div',\n data,\n getContent(),\n 'ripple',\n props.ripple !== false && props.disable !== true,\n () => [ [ Ripple, props.ripple ] ]\n )\n }\n }\n})\n","module.exports = __webpack_public_path__ + \"img/overdraft-repay-info.804697fd.svg\";","import axios from \"axios\";\n\nexport default class Compliance {\n /**\n * @constructor\n */\n constructor(api, api2) {\n (this.http = api), (this.http2 = api2);\n }\n\n creeateBusiness(payload) {\n return this.http2.post(`/v1/business/sub-business/create`, payload);\n }\n getCode() {\n return this.http2.post(`/v1/business/initiate/phone-otp`);\n }\n\n verifyOtp(payload) {\n return this.http2.post(`/v1/business/verify/phone-otp`, payload);\n }\n\n getBusinessCategories(payload) {\n return this.http2.get(`/v1/business/categories/${payload || \"\"}`);\n }\n\n individualBusinessVerification(payload) {\n return this.http2.post(\n `/v1/business/compliance/verification-data`,\n payload\n );\n }\n updateKYC(payload) {\n return this.http2.post(`/v1/business/compliance/verification`, payload);\n }\n validateCac(payload) {\n return this.http2.post(`/v1/business/resolve-cac`, payload)\n }\n\n updateProfile(payload) {\n return this.http2.post(`/v1/business/compliance/profile`, payload);\n }\n\n checkUser(payload) {\n return this.http2.post(`/v1/user/check-details`, payload);\n }\n\n updatePhone(payload) {\n return this.http2.put(\"/v1/business/business-phone/update\", {\n phoneNumber: payload,\n });\n }\n\n getTheseIndustries() {\n return this.http2.get(`/v1/business/business-industries`);\n }\n\n documentBusiness(payload) {\n return this.http2.post(`/v1/business/compliance/documents`, payload);\n }\n\n getBusinessDetails() {\n return this.http2.get(`/v1/business/details`);\n }\n\n getCities() {\n return this.http2.get(`/v1/cities?stateName=LAGOS`);\n }\n\n getTowns(payload) {\n return this.http2.get(`/v1/towns`, {\n params: payload,\n });\n }\n\n getSingleCustomer(id, payload) {\n return this.http2.get(`/v1/business/customers/${id}`, {\n params: payload,\n });\n }\n\n verifyBvn(payload) {\n return this.http2.post(\"/v1/business/verify/bvn\", payload);\n }\n\n verifyBvnOtp(payload) {\n return this.http2.post(\"/v1/business/verify/bvn/otp\", payload);\n }\n\n confirmMetaMapDocVerification(payload) {\n return this.http2.post(\n \"/v1/business/compliance/documents/verification/metamap\",\n payload\n );\n }\n\n getAddress(businessId) {\n return this.http2.get(\"/v1/business/addresses\", {\n params: {\n businessId,\n },\n });\n }\n\n getBVNConsent(params) {\n return this.http2.get(\"/v1/business/bvn-consent/status\", { params });\n }\n\n uploadNIN(file) {\n const body = new FormData();\n body.append(\"file\", file);\n body.append(\"upload_preset\", \"merchant_docs\");\n return axios.post(\n \"https://api.cloudinary.com/v1_1/ourpass-co/image/upload\",\n body\n );\n }\n\n verifyNIN(payload) {\n return this.http2.post(\"/v1/business/verify/nin\", payload);\n }\n\n resolveNin(payload) {\n return this.http2.post(\"/v1/business/resolve-nin\", payload);\n }\n}\n"],"sourceRoot":""}
Upload