{"version":3,"sources":["webpack:///./node_modules/quasar/src/composables/private/use-ratio.js","webpack:///./node_modules/quasar/src/components/img/QImg.js","webpack:///./src/components/base/Button/GoBack.vue","webpack:///./src/components/base/Button/GoBack.vue?b820","webpack:///./src/components/base/Button/GoBack.vue?23b2","webpack:///./src/components/contents/PaymentLinks/invoice/new/preview.vue?67f4","webpack:///./src/helpers/money.js","webpack:///./node_modules/quasar/src/components/page/QPage.js","webpack:///./src/components/contents/PaymentLinks/invoice/new/preview.vue","webpack:///./src/components/contents/PaymentLinks/invoice/new/preview.vue?164d"],"names":["useRatioProps","ratio","String","Number","props","naturalRatio","computed","value","isNaN","paddingBottom","crossoriginValues","loadingValues","fitValues","defaultRatio","defineComponent","name","src","srcset","sizes","alt","crossorigin","type","validator","val","includes","draggable","Boolean","loading","default","width","height","initialRatio","placeholderSrc","fit","position","imgClass","imgStyle","Object","noSpinner","noNativeMenu","noTransition","spinnerColor","spinnerSize","emits","setup","slots","attrs","emit","ref","ratioStyle","useRatio","loadTimer","images","isLoading","hasError","classes","style","objectFit","objectPosition","getCurrentSrc","addImage","imgProps","clearTimeout","onLoad","target","naturalHeight","naturalWidth","waitForCompleteness","count","complete","onReady","setTimeout","img","currentSrc","onError","err","getContainer","key","child","h","class","getImage","index","data","assign","getContent","hSlot","QSpinner","color","size","watch","onBeforeUnmount","content","push","Transition","role","_createElementBlock","onClick","_cache","args","$options","handleClick","_createElementVNode","_toDisplayString","$props","text","Function","methods","this","$router","back","__exports__","render","currency","formatMoney","number","options","showCurrency","toBasicUnit","figure","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","currencyDisplay","format","padding","styleFn","proxy","$q","getCurrentInstance","$layout","inject","layoutKey","pageContainerKey","offset","header","space","footer","isContainer","containerHeight","screen","minHeight","invoice","businessName","_createBlock","_component_GoBack","$event","$emit","_hoisted_1","_hoisted_2","_normalizeClass","_hoisted_3","_this$invoice","order","title","_this$invoice2","_hoisted_4","_hoisted_5","_hoisted_6","_this$invoice3","company","tradingName","_hoisted_7","_this$invoice4","businessEmail","_this$invoice5","_hoisted_8","_this$invoice6","businessPhoneNumber","_this$invoice7","_hoisted_9","_this$invoice8","businessAddress","address","_this$invoice9","adjust","_createVNode","_component_q_img","_this$invoice10","business_logo_preview","_this$invoice11","businessLogo","_component_q_separator","_hoisted_10","_hoisted_11","_hoisted_12","_this$invoice12","customer","customerName","_this$invoice13","fullName","_hoisted_13","_this$invoice14","customerEmail","_this$invoice15","email","_hoisted_14","_this$invoice16","customerPhone","_this$invoice17","phoneNumber","adjustTwo","_hoisted_15","Date","toDateString","_hoisted_16","_this$invoice18","due_on","_this$invoice19","dueDate","resizes","_hoisted_17","_Fragment","_renderList","_this$invoice20","items","_this$invoice21","item","_this$invoice22","_this$invoice23","_hoisted_18","_hoisted_19","quantity","_hoisted_20","price","_hoisted_21","_hoisted_22","_hoisted_23","_this$invoice24","itemsTotal","_hoisted_24","_hoisted_25","_this$invoice25","shipping_fee","_this$invoice26","shippingFee","_hoisted_26","_hoisted_27","_this$invoice27","discount_selected","discountType","_this$invoice28","discount","_this$invoice29","discountValue","_this$invoice30","_this$invoice31","_hoisted_28","_hoisted_29","_this$invoice32","vat","_this$invoice33","valueAddedTax","_hoisted_30","_hoisted_31","_this$invoice34","total","_this$invoice35","amount","_hoisted_32","_hoisted_33","_hoisted_34","_this$invoice36","note","_this$invoice37","_hoisted_35","_component_AppButton","disable","label","_hoisted_36","_hoisted_37","_this$invoice38","bank_account","accountNumber","_this$invoice39","reservedAccount","_this$invoice40","accountBankName","_this$invoice41","_hoisted_38","_this$invoice42","accountName","_this$invoice43","components","GoBack","AppButton","Array","subtotal","arr","forEach","QPage","QImg","QSeparator"],"mappings":"wJAEO,MAAMA,EAAgB,CAC3BC,MAAO,CAAEC,OAAQC,SAGJ,eAAUC,EAAOC,GAE9B,OAAOC,sBAAS,KACd,MAAML,EAAQE,OACZC,EAAMH,aAA2B,IAAjBI,EAA0BA,EAAaE,WAAQ,IAGjE,OAAwB,IAAj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,MAARA,GAAwB,MAARA,EAC3B,UACK,a,0FClOpB,MAAMsB,GAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,UAKf,IAAS,EAAQ,aAAc,CAACmL,QAAA,KAAMC,OAAA,KAAKC,aAAA,Q","file":"js/chunk-0beba70f.2de48ab8.js","sourcesContent":["import { computed } from 'vue'\n\nexport const useRatioProps = {\n ratio: [ String, Number ]\n}\n\nexport default function (props, naturalRatio) {\n // return ratioStyle\n return computed(() => {\n const ratio = Number(\n props.ratio || (naturalRatio !== void 0 ? naturalRatio.value : void 0)\n )\n\n return isNaN(ratio) !== true && ratio > 0\n ? { paddingBottom: `${ 100 / ratio }%` }\n : null\n })\n}\n","import { h, defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, Transition } from 'vue'\n\nimport QSpinner from '../spinner/QSpinner.js'\nimport useRatio, { useRatioProps } from '../../composables/private/use-ratio.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { isRuntimeSsrPreHydration } from '../../plugins/Platform.js'\n\nconst crossoriginValues = [ 'anonymous', 'use-credentials' ]\nconst loadingValues = [ 'eager', 'lazy' ]\nconst fitValues = [ 'cover', 'fill', 'contain', 'none', 'scale-down' ]\nconst defaultRatio = 16 / 9\n\nexport default defineComponent({\n name: 'QImg',\n\n props: {\n ...useRatioProps,\n\n src: String,\n srcset: String,\n sizes: String,\n\n alt: String,\n crossorigin: {\n type: String,\n validator: val => crossoriginValues.includes(val)\n },\n draggable: Boolean,\n\n loading: {\n type: String,\n default: 'lazy',\n validator: val => loadingValues.includes(val)\n },\n width: String,\n height: String,\n initialRatio: {\n type: [ Number, String ],\n default: defaultRatio\n },\n\n placeholderSrc: String,\n\n fit: {\n type: String,\n default: 'cover',\n validator: val => fitValues.includes(val)\n },\n position: {\n type: String,\n default: '50% 50%'\n },\n\n imgClass: String,\n imgStyle: Object,\n\n noSpinner: Boolean,\n noNativeMenu: Boolean,\n noTransition: Boolean,\n\n spinnerColor: String,\n spinnerSize: String\n },\n\n emits: [ 'load', 'error' ],\n\n setup (props, { slots, attrs, emit }) {\n const naturalRatio = ref(props.initialRatio)\n const ratioStyle = useRatio(props, naturalRatio)\n\n let loadTimer\n\n const images = [\n ref(null),\n ref(props.placeholderSrc !== void 0 ? { src: props.placeholderSrc } : null)\n ]\n\n const position = ref(0)\n\n const isLoading = ref(false)\n const hasError = ref(false)\n\n const classes = computed(() =>\n `q-img q-img--${ props.noNativeMenu === true ? 'no-' : '' }menu`\n )\n\n const style = computed(() => ({\n width: props.width,\n height: props.height\n }))\n\n const imgClass = computed(() =>\n `q-img__image ${ props.imgClass !== void 0 ? props.imgClass + ' ' : '' }`\n + `q-img__image--with${ props.noTransition === true ? 'out' : '' }-transition`\n )\n\n const imgStyle = computed(() => ({\n ...props.imgStyle,\n objectFit: props.fit,\n objectPosition: props.position\n }))\n\n watch(() => getCurrentSrc(), addImage)\n\n function getCurrentSrc () {\n return props.src || props.srcset || props.sizes\n ? {\n src: props.src,\n srcset: props.srcset,\n sizes: props.sizes\n }\n : null\n }\n\n function addImage (imgProps) {\n clearTimeout(loadTimer)\n hasError.value = false\n\n if (imgProps === null) {\n isLoading.value = false\n images[ 0 ].value = null\n images[ 1 ].value = null\n return\n }\n\n isLoading.value = true\n images[ position.value ].value = imgProps\n }\n\n function onLoad ({ target }) {\n // if component has been already destroyed\n if (loadTimer === null) { return }\n\n clearTimeout(loadTimer)\n\n naturalRatio.value = target.naturalHeight === 0\n ? 0.5\n : target.naturalWidth / target.naturalHeight\n\n waitForCompleteness(target, 1)\n }\n\n function waitForCompleteness (target, count) {\n // protect against running forever\n if (loadTimer === null || count === 1000) { return }\n\n if (target.complete === true) {\n onReady(target)\n }\n else {\n loadTimer = setTimeout(() => {\n waitForCompleteness(target, count + 1)\n }, 50)\n }\n }\n\n function onReady (img) {\n // if component has been already destroyed\n if (loadTimer === null) { return }\n\n position.value = position.value === 1 ? 0 : 1\n images[ position.value ].value = null\n isLoading.value = false\n hasError.value = false\n emit('load', img.currentSrc || img.src)\n }\n\n function onError (err) {\n clearTimeout(loadTimer)\n isLoading.value = false\n hasError.value = true\n images[ 0 ].value = null\n images[ 1 ].value = null\n emit('error', err)\n }\n\n function getContainer (key, child) {\n return h(\n 'div',\n { class: 'q-img__container absolute-full', key },\n child\n )\n }\n\n function getImage (index) {\n const img = images[ index ].value\n\n const data = {\n key: 'img_' + index,\n ...attrs,\n class: imgClass.value,\n style: imgStyle.value,\n crossorigin: props.crossorigin,\n height: props.height,\n width: props.width,\n loading: props.loading,\n 'aria-hidden': 'true',\n draggable: props.draggable,\n ...img\n }\n\n if (position.value === index) {\n data.class += ' q-img__image--waiting'\n Object.assign(data, { onLoad, onError })\n }\n else {\n data.class += ' q-img__image--loaded'\n }\n\n return getContainer('img' + index, h('img', data))\n }\n\n function getContent () {\n if (isLoading.value !== true) {\n return h('div', {\n key: 'content',\n class: 'q-img__content absolute-full q-anchor--skip'\n }, hSlot(slots[ hasError.value === true ? 'error' : 'default' ]))\n }\n\n return h('div', {\n key: 'loading',\n class: 'q-img__loading absolute-full flex flex-center'\n }, (\n slots.loading !== void 0\n ? slots.loading()\n : (\n props.noSpinner === true\n ? void 0\n : [\n h(QSpinner, {\n color: props.spinnerColor,\n size: props.spinnerSize\n })\n ]\n )\n ))\n }\n\n if (__QUASAR_SSR_SERVER__ !== true) {\n if (__QUASAR_SSR_CLIENT__ && isRuntimeSsrPreHydration.value === true) {\n onMounted(() => {\n addImage(getCurrentSrc())\n })\n }\n else {\n addImage(getCurrentSrc())\n }\n\n onBeforeUnmount(() => {\n clearTimeout(loadTimer)\n loadTimer = null\n })\n }\n\n return () => {\n const content = []\n\n if (ratioStyle.value !== null) {\n content.push(\n h('div', { key: 'filler', style: ratioStyle.value })\n )\n }\n\n if (hasError.value !== true) {\n if (images[ 0 ].value !== null) {\n content.push(getImage(0))\n }\n\n if (images[ 1 ].value !== null) {\n content.push(getImage(1))\n }\n }\n\n content.push(\n h(Transition, { name: 'q-transition--fade' }, getContent)\n )\n\n return h('div', {\n class: classes.value,\n style: style.value,\n role: 'img',\n 'aria-label': props.alt\n }, content)\n }\n }\n})\n","\n\n\n\n\n","import { render } from \"./GoBack.vue?vue&type=template&id=0ae0b7ac&scoped=true\"\nimport script from \"./GoBack.vue?vue&type=script&lang=js\"\nexport * from \"./GoBack.vue?vue&type=script&lang=js\"\n\nimport \"./GoBack.vue?vue&type=style&index=0&id=0ae0b7ac&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-0ae0b7ac\"]])\n\nexport default __exports__","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!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./GoBack.vue?vue&type=style&index=0&id=0ae0b7ac&lang=scss&scoped=true\"","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!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./preview.vue?vue&type=style&index=0&id=3a852211&lang=scss&scoped=true\"","// @ts-check\nconst currency = \"NGN\";\n\n/**\n * @param {number | string} number\n * @param {{showCurrency?: Boolean, toBasicUnit?: Boolean}} options\n * - toBasicUnit used to convert from fractional (monetary) unit to basic (monetary) unit e.g kobo to naira\n * @returns {string}\n */\nexport const formatMoney = (number = 0, options = {}) => {\n const { showCurrency = options.showCurrency ? options.showCurrency : true, toBasicUnit = true } = options;\n /**\n * @type {string | number}\n */\n let figure = toBasicUnit ? +number / 100 : +number;\n\n figure = new Intl.NumberFormat(\"en-NG\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n ...(showCurrency\n ? {\n style: \"currency\",\n currency,\n currencyDisplay: \"code\",\n }\n : {}),\n }).format(figure);\n\n return figure;\n};\n","import { h, defineComponent, computed, inject, getCurrentInstance } from 'vue'\n\nimport { hSlot } from '../../utils/private/render.js'\nimport { pageContainerKey, layoutKey } from '../../utils/private/symbols.js'\n\nexport default defineComponent({\n name: 'QPage',\n\n props: {\n padding: Boolean,\n styleFn: Function\n },\n\n setup (props, { slots }) {\n const { proxy: { $q } } = getCurrentInstance()\n\n const $layout = inject(layoutKey)\n inject(pageContainerKey, () => {\n console.error('QPage needs to be child of QPageContainer')\n })\n\n const style = computed(() => {\n const offset\n = ($layout.header.space === true ? $layout.header.size : 0)\n + ($layout.footer.space === true ? $layout.footer.size : 0)\n\n if (typeof props.styleFn === 'function') {\n const height = $layout.isContainer.value === true\n ? $layout.containerHeight.value\n : $q.screen.height\n\n return props.styleFn(offset, height)\n }\n\n return {\n minHeight: $layout.isContainer.value === true\n ? ($layout.containerHeight.value - offset) + 'px'\n : (\n $q.screen.height === 0\n ? (offset !== 0 ? `calc(100vh - ${ offset }px)` : '100vh')\n : ($q.screen.height - offset) + 'px'\n )\n }\n })\n\n const classes = computed(() =>\n `q-page ${ props.padding === true ? ' q-layout-padding' : '' }`\n )\n\n return () => h('main', {\n class: classes.value,\n style: style.value\n }, hSlot(slots.default))\n }\n})\n","\n\n\n\n\n","import { render } from \"./preview.vue?vue&type=template&id=3a852211&scoped=true\"\nimport script from \"./preview.vue?vue&type=script&lang=js\"\nexport * from \"./preview.vue?vue&type=script&lang=js\"\n\nimport \"./preview.vue?vue&type=style&index=0&id=3a852211&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-3a852211\"]])\n\nexport default __exports__\nimport QPage from 'quasar/src/components/page/QPage.js';\nimport QImg from 'quasar/src/components/img/QImg.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QPage,QImg,QSeparator});\n"],"sourceRoot":""}