{"version":3,"sources":["webpack:///./src/components/reusables/Uploads/Upload.vue?709f","webpack:///./src/components/reusables/Uploads/Upload.vue","webpack:///./src/services/thirdParty.http.js","webpack:///./src/components/reusables/Uploads/Upload.vue?cec9","webpack:///./node_modules/quasar/src/composables/private/use-file.js","webpack:///./node_modules/quasar/src/components/file/QFile.js","webpack:///./node_modules/quasar/src/components/field/QField.js","webpack:///./src/assets/product-trash.svg","webpack:///./node_modules/quasar/src/components/chip/QChip.js","webpack:///./src/assets/overdraft-repay-info.svg","webpack:///./src/assets/close-circle.svg"],"names":["for","class","_createElementBlock","_createElementVNode","_hoisted_1","_toDisplayString","$props","formLabel","_createVNode","_component_q_file","_mergeProps","label","fileLabel","multiple","isMultiple","onChange","_cache","$event","$options","onFileChange","$data","file","ref","_ctx","$attrs","_createSlots","_","basic","_hoisted_2","fileURL","src","_imports_0","height","width","fill","alt","onClick","removeUpload","_createBlock","_component_AppButton","upload","disable","btnLabel","loading","uploading","type","custom","_renderSlot","$slots","undefined","ThirdParty","constructor","api","this","http3","uploadToCloudinary","payload","post","name","props","Boolean","default","String","selectedFiles","Number","maxFiles","maxSize","supportedMediaTypes","Array","components","AppButton","data","formData","thirdPartyService","dummyURL","mounted","removeElems","methods","selectMore","$refs","$el","click","extensions","map","f","split","sizesInMB","size","toFixed","unsupportedExtentions","some","t","includes","sizeTooBig","s","exts","join","errMsg","showMessage","length","forEach","FormData","append","push","$emit","files","extension","sizeInMB","uploads","responses","Promise","all","URLs","response","secure_url","secure_urls","err","elem1","document","querySelector","elem2","style","display","created","ThirdPartyService","$axios","__exports__","render","QFile","QField","filterFiles","rejectedFiles","failedPropValidation","filterFn","acceptedFiles","stopAndPreventDrag","e","dataTransfer","dropEffect","stopAndPrevent","useFileProps","accept","capture","maxFileSize","maxTotalSize","filter","Function","useFileEmits","editable","dnd","getFileInput","addFilesToQueue","emit","proxy","getCurrentInstance","computed","ext","trim","endsWith","slice","toUpperCase","maxFilesNumber","parseInt","maxTotalSizeNumber","pickFiles","value","input","addFiles","processFiles","filesToProcess","currentFileList","from","target","done","indexOf","startsWith","reduce","total","filteredFiles","filesNumber","onDragover","onDragleave","onDrop","getDndNode","h","onDragenter","Object","assign","defineComponent","useFieldProps","useFormProps","modelValue","File","FileList","useChips","displayValue","tabindex","counterLabel","inputClass","inputStyle","emits","useFieldEmits","setup","slots","attrs","state","useFieldState","inputRef","nameProp","useFormInputNameAttr","useFile","formDomProps","useFileFormDomProps","innerValue","hasValue","fieldValueIsFilled","selectedString","totalSize","humanStorageSize","acc","counterProps","inputAttrs","title","id","targetUid","disabled","isAppending","removeAtIndex","index","splice","emitValue","removeFile","findIndex","onKeyup","keyCode","fileList","every","concat","getFiller","getSelection","selected","i","QChip","key","removable","dense","textColor","color","onRemove","textContent","getInput","inheritAttrs","fieldClass","floatingLabel","computedCounter","max","getControlChild","getControl","targetRef","getNativeElement","useField","module","exports","defaultSizes","xs","sm","md","lg","xl","useDarkProps","useSizeProps","icon","iconRight","iconRemove","iconSelected","square","outline","clickable","ripple","$q","isDark","useDark","sizeStyle","useSize","hasLeftIcon","leftIcon","iconSet","chip","removeIcon","remove","isClickable","classes","text","attributes","getContent","child","QIcon","hMergeSlotSafely","hDir","Ripple"],"mappings":"kHAAA,W,kFCEWA,IAAI,aAAaC,MAAM,sB,GAWrBA,MAAM,4B,qJAZjBC,gCAyCM,YAxCJC,gCAA0E,QAA1EC,EAA0EC,6BAApBC,EAAAC,WAAS,GAC/DC,yBAsCSC,EAtCTC,wBAsCS,CArCNC,MAAOL,EAAAM,UACPC,SAAUP,EAAAQ,WACVC,SAAMC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,gB,WACAC,EAAAC,K,qCAAAD,EAAAC,KAAIJ,GACbhB,MAAM,aACNqB,IAAI,UACIC,EAAAC,QAAMC,yBAAA,CAAAC,EAAA,IAEEpB,EAAAqB,M,MAAc,S,wBAC5B,IAoBM,CApBNxB,gCAoBM,MApBNyB,EAoBM,CAlBIR,EAAAS,S,y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AhBgD,EAAMhD,MAChB,CAAE6K,eAAE,MAAO,CAAEvL,MAAO,YAAc,CAAE0D,EAAMhD,cAC1C,EAyBJ,OAvBA4R,EAAMhM,KACJiF,eAAE,MAAO,CACPvL,MAAO,+DACNwS,eAAiB9F,EAAM9I,QAASlD,KAGrCgD,EAAMqN,WAAauB,EAAMhM,KACvBiF,eAAEgH,OAAO,CACPvS,MAAO,mCACPyD,KAAMC,EAAMqN,cAII,IAApBrN,EAAMyL,WAAsBmD,EAAMhM,KAChCiF,eAAEgH,OAAO,CACPvS,MAAO,mDACPyD,KAAMsO,EAAW3H,SACdgI,EAAWhI,MACdjI,QAASoN,EACTf,QAASe,KAIN+C,EAGT,MAAO,KACL,IAAyB,IAArB5O,EAAMoI,WAAwB,OAElC,MAAMxH,EAAO,CACXtE,MAAOkS,EAAQ9H,MACf5C,MAAOiK,EAAUrH,OASnB,OANsB,IAAtB6H,EAAY7H,OAAkBqB,OAAOC,OACnCpH,EACA8N,EAAWhI,MACX,CAAEjI,UAASqM,YAGNiE,eACL,MACAnO,EACA+N,IACA,UACiB,IAAjB3O,EAAM2N,SAAsC,IAAlB3N,EAAMlB,QAChC,IAAM,CAAE,CAAEkQ,OAAQhP,EAAM2N,e,qBChMhCjB,EAAOC,QAAU,IAA0B,yC,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-525ce9aa.ad6bd1f5.js","sourcesContent":["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!./Upload.vue?vue&type=style&index=0&id=336d86d0&lang=scss&scoped=true\"","\n\n\n\n\n","export default class ThirdParty {\n /**\n * @constructor\n */\n constructor(api) {\n this.http3 = api;\n }\n\n uploadToCloudinary(payload) {\n return this.http3.post(\n \"https://api.cloudinary.com/v1_1/ourpass-co/image/upload\",\n payload\n );\n }\n }\n","import { render } from \"./Upload.vue?vue&type=template&id=336d86d0&scoped=true\"\nimport script from \"./Upload.vue?vue&type=script&lang=js\"\nexport * from \"./Upload.vue?vue&type=script&lang=js\"\n\nimport \"./Upload.vue?vue&type=style&index=0&id=336d86d0&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-336d86d0\"]])\n\nexport default __exports__\nimport QFile from 'quasar/src/components/file/QFile.js';\nimport QField from 'quasar/src/components/field/QField.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QFile,QField});\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","import { defineComponent } from 'vue'\n\nimport useField, { useFieldState, useFieldProps, useFieldEmits } from '../../composables/private/use-field.js'\n\nexport default defineComponent({\n name: 'QField',\n\n inheritAttrs: false,\n\n props: useFieldProps,\n\n emits: useFieldEmits,\n\n setup () {\n return useField(useFieldState())\n }\n})\n","module.exports = __webpack_public_path__ + \"img/product-trash.59669ec7.svg\";","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\";","module.exports = __webpack_public_path__ + \"img/close-circle.9e911bb7.svg\";"],"sourceRoot":""}