{"version":3,"sources":["webpack:///./src/components/FormComponents/UploadList/index.vue?f3e9","webpack:///./src/mixins/appFormSteps.js","webpack:///./src/utilities/getBase64Encoding.js","webpack:///./src/components/FormComponents/UploadList/index.vue","webpack:///./src/components/FormComponents/UploadList/index.vue?89de","webpack:///./src/mixins/fileUploads.js","webpack:///./src/pages/stage-two/small/project-details-2.vue","webpack:///./src/pages/stage-two/small/project-details-2.vue?c45f","webpack:///./src/components/ChildEntities/Fields/ActivityFields.vue","webpack:///./src/components/ChildEntities/Fields/ActivityFields.vue?dce1"],"names":["formSteps","data","showStepErrors","computed","noItemsAdded","this","getItemsByType","length","otherCriteriaValid","mapGetters","mounted","formEle","document","querySelector","focusableEles","querySelectorAll","focus","getApplication","Object","assign","formData","methods","saveAndSubmit","nextStep","validateStep","finalSubmit","isValid","$refs","form","returnStep","$route","name","ua_submitapplication","submitApp","window","scrollTo","updateApplication","then","res","updateCurrentStep","$router","push","status","redeemToken","refreshtoken","CookieJar","get","businessunit","process","catch","err","error","message","mapActions","base64Encode","file","Promise","resolve","reject","reader","FileReader","readAsDataURL","onload","result","onerror","class","$props","_createElementBlock","_normalizeClass","classes","_createVNode","_component_Heading","level","text","_createElementVNode","_hoisted_1","_Fragment","_renderList","uploaded","index","key","_createBlock","_resolveDynamicComponent","$options","getFileIcon","documentbody","_toDisplayString","filename","subject","props","type","Array","default","String","content","charAt","icon","__exports__","render","fileUploads","enableUpload","filesToUpload","uploadMsg","loadNotesMsg","noteSubject","uploaderValue","showList","successfulUploads","fileUploadError","components","UploadList","applicationType","stage","meta","applicationTypeID","types","eoi","application","claim","getUploadedFiles","getNotesByType","getAllUploadedFiles","getAllNotes","payload","applicationTypeId","claimIdQuery","params","claimId","query","loadNotes","populateList","prepareFiles","files","values","fileList","objectId","getEOIId","getApplicationId","getActiveApplication","forEach","async","docBody","split","objectid","objecttypecode","uploadFiles","uploadNotes","itemType","uploadSharepointFiles","promises","map","uploadToSharepoint","fileName","all","join","onSubmit","_cache","_withModifiers","args","_ctx","novalidate","ref","childEntityError","_component_UserMessage","message-type","message-text","_component_HelpText","_withCtx","$data","helpText","helpText2","_component_child_entity_list","items","getItems","item-type","onEdit","editItem","onDelete","deleteItem","getActivityTotalCost","toFixed","_component_Button","button-type","onBtnClick","$event","openPopUp","_component_add_icon","_component_pop_up","onDismiss","dismissPopUp","setCurrentId","popup-id","show-close-btn","popUpOpen","_component_activity_fields","activities-loading","activitiesOptsLoading","onFinished","_component_FileUpload","is-multi","onFileUploadErrors","val","onUploadFiles","onEmitFieldData","v","is-required","uploaded-files","upload-msg","label-text","help-text","required-error","validation-rules","rules","withinFileSizeLimit","ActivityFields","mixins","childEntityParent","formValidator","provide","otherFieldId","itemIdentifier","itemIdField","validationRules","ua_descriptionofproject","maxCostExceeded","activities","fetchItems","fetchItemsMsg","getActivityTypes","getActivityTypeList","finally","saveNewItem","confirmMsg","_component_form_field_set","id","legend","introText","heading","fields","_component_SelectField","value","ua_icactivitytypeid","options","filterSuppliers","disabled","options-loading","activitiesLoading","_component_text_area","ua_activitydescription","max-chars","containsLength","_component_DateTextField","ua_anticipatedstartdateofproject","min-date","isValidDate","afterMinDate","ua_anticipatedenddateofproject","minEndDate","max-date","maxEndDate","_component_NumberField","ua_activitytotalcost","step","minmax","getMaxVaue","invalid-number","_component_DataListField","supplierdeliveringthisactivity","checkValue","availableSuppliers","supplierOptsLoading","ua_suppliernotinlist","_component_InputField","ua_suppliernotinlistdetails","ua_rationaleforchoiceofsupplier","confirmCancel","_hoisted_2","_hoisted_3","_hoisted_4","$emit","childEntityPopUp","Boolean","ua_supplierdeliveringthisactivity","ua_suppliernamenotinlist","parsedDate","Date","isStartDate","$filters","userFriendlyDate","maxDate","addMonths","getVerifiedSuppliers","getVerifiedSupplierList","getCurrentItemByType","supplierInList","find","item","getSupplierName","listElem","getElementById","opSelected","trim","getAttribute","match","expertise","filter","label"],"mappings":"kHAAA,W,4GCGO,MAAMA,EAAY,CACrBC,OACF,MAAO,CACGC,gBAAgB,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AAgB,EAAQ,CAAC,CAAC,SAASC,KAErD","file":"js/chunk-1bffa736.bccb11ab.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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=5dceaad8&lang=scss&scoped=true\"","import { mapGetters, mapActions } from 'vuex';\r\nimport CookieJar from '@/utilities/cookieJar';\r\n\r\nexport const formSteps = {\r\n data () {\r\n\t\treturn {\r\n showStepErrors: false\r\n };\r\n },\r\n computed: {\r\n noItemsAdded () {\r\n return this.getItemsByType ? this.getItemsByType.length < 1 : false;\r\n },\r\n otherCriteriaValid () {\r\n // additional conditions for validity may be set per section\r\n return true;\r\n },\r\n ...mapGetters('application', ['getApplication'])\r\n },\r\n mounted () {\r\n const formEle = document.querySelector('form');\r\n const focusableEles = formEle.querySelectorAll('.form-control, a, button');\r\n\r\n focusableEles[0].focus();\r\n\r\n if (this.getApplication) {\r\n Object.assign(this.formData || {}, this.getApplication);\r\n }\r\n\t},\r\n methods: {\r\n saveAndSubmit (nextStep, validateStep = true, finalSubmit = false) {\r\n const formEle = document.querySelector('form');\r\n const focusableEles = formEle.querySelectorAll('.form-control, a, button');\r\n\r\n this.showStepErrors = true;\r\n if (!validateStep || (this.isValid(this.$refs.form) && !this.noItemsAdded && this.otherCriteriaValid)) {\r\n /* If we're continuing (validateStep is true) we want to save the next step as the one to return to,\r\n otherwise, we should return the user to the one they saved last */\r\n const returnStep = validateStep ? nextStep : this.$route.name;\r\n\r\n // set ua_submitapplication to 1/true if this is the final submission\r\n this.formData.ua_submitapplication = !!finalSubmit;\r\n\r\n this.submitApp(finalSubmit, returnStep, nextStep);\r\n } else {\r\n window.scrollTo(0, 0);\r\n focusableEles[0].focus();\r\n }\r\n },\r\n submitApp (finalSubmit, returnStep, nextStep) {\r\n this.updateApplication(this.formData).then((res) => {\r\n if (res === true) {\r\n // if it's NOT the last step, update the current step\r\n if (!finalSubmit) {\r\n this.updateCurrentStep(returnStep);\r\n }\r\n this.$router.push({ name: nextStep });\r\n } else if (res.status === 401) {\r\n this.redeemToken({\r\n refreshtoken: CookieJar.get(`${process.env.VUE_APP_COOKIE_PREFIX}refresh_token`),\r\n businessunit: process.env.VUE_APP_BUSINESS_UNIT\r\n }).then((res) => {\r\n if (res === true) {\r\n this.submitApp(finalSubmit, returnStep, nextStep);\r\n return true;\r\n }\r\n this.$router.push({ name: 'Login' });\r\n }).catch(() => {\r\n this.$router.push({ name: 'Login' });\r\n });\r\n }\r\n }).catch((err) => {\r\n this.error = err.message;\r\n });\r\n },\r\n ...mapActions('auth', ['redeemToken']),\r\n ...mapActions('application', ['updateApplication', 'updateCurrentStep'])\r\n }\r\n };\r\n","const base64Encode = (file) => new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n if (file) {\r\n reader.readAsDataURL(file);\r\n reader.onload = () => resolve(reader.result);\r\n reader.onerror = error => reject(error);\r\n }\r\n});\r\n\r\nexport default base64Encode;\r\n","\r\n\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t{{ uploaded.filename || uploaded.subject }}\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { render } from \"./index.vue?vue&type=template&id=5dceaad8&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./index.vue?vue&type=style&index=0&id=5dceaad8&lang=scss&scoped=true\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5dceaad8\"]])\n\nexport default __exports__","import { mapGetters, mapActions } from 'vuex';\r\nimport base64Encode from '@/utilities/getBase64Encoding';\r\nimport CookieJar from '@/utilities/cookieJar';\r\n\r\nimport UploadList from '@/components/FormComponents/UploadList';\r\n\r\nexport const fileUploads = {\r\n\tdata () {\r\n\t\treturn {\r\n\t\t\tenableUpload: false,\r\n\t\t\tfilesToUpload: [],\r\n\t\t\tuploadMsg: {\r\n\t\t\t\ttype: null,\r\n\t\t\t\ttext: null\r\n\t\t\t},\r\n\t\t\tloadNotesMsg: {\r\n\t\t\t\ttype: null,\r\n\t\t\t\ttext: null\r\n\t\t\t},\r\n\t\t\tnoteSubject: '',\r\n\t\t\tuploaderValue: '',\r\n\t\t\tshowList: false,\r\n\t\t\tsuccessfulUploads: [],\r\n\t\t\tfileUploadError: false\r\n\t\t};\r\n\t},\r\n components: {\r\n\t\tUploadList\r\n\t},\r\n\tcomputed: {\r\n\t\tapplicationType () {\r\n\t\t\treturn this.stage || this.$route.meta.applicationType;\r\n\t\t},\r\n\t\tapplicationTypeID () {\r\n\t\t\tconst types = {\r\n\t\t\t\teoi: 'ua_icexpressionofinterest',\r\n\t\t\t\tapplication: 'ua_icapplication',\r\n\t\t\t\tclaim: 'ua_icclaim'\r\n\t\t\t};\r\n\t\t\treturn types[this.applicationType];\r\n\t\t},\r\n\t\tgetUploadedFiles () {\r\n\t\t\treturn this.getNotesByType(this.applicationTypeID, this.noteSubject);\r\n\t\t},\r\n\t\tgetAllUploadedFiles () {\r\n\t\t\treturn this.getAllNotes(this.applicationTypeID);\r\n\t\t},\r\n\t\t...mapGetters('notes', ['getAllNotes', 'getNotesByType']),\r\n\t\t...mapGetters('eoi', ['getEOIId']),\r\n\t\t...mapGetters('application', ['getApplicationId', 'getApplication', 'getActiveApplication'])\r\n\t},\r\n\tmounted () {\r\n\t\tif (!this.getAllNotes(this.applicationTypeID).length) {\r\n\t\t\tconst payload = {\r\n\t\t\t\tapplicationTypeId: this.applicationTypeID,\r\n\t\t\t\tclaimIdQuery: this.applicationType === 'claim' ? `&icclaimid=${this.$route.params.claimId || this.$route.query.claimId}` : ''\r\n\t\t\t};\r\n\r\n\t\t\tthis.loadNotes(payload).then(res => {\r\n\t\t\t\tif (res === true) {\r\n\t\t\t\t\tif (this.showList) {\r\n\t\t\t\t\t\tthis.populateList();\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (res.status === 422 || res.status === 500) {\r\n\t\t\t\t\tthis.loadNotesMsg.type = res.type;\r\n\t\t\t\t\tthis.loadNotesMsg.text = res.message;\r\n\t\t\t\t} else if (res.status === 401) {\r\n\t\t\t\t\tthis.redeemToken({\r\n\t\t\t\t\t\trefreshtoken: CookieJar.get(`${process.env.VUE_APP_COOKIE_PREFIX}refresh_token`),\r\n\t\t\t\t\t\tbusinessunit: process.env.VUE_APP_BUSINESS_UNIT\r\n\t\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t\tif (res === true) {\r\n\t\t\t\t\t\t\tthis.loadNotes(payload);\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t}).catch(() => {\r\n\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tprepareFiles (data, stage = null) {\r\n\t\t\tconst files = Object.values(data);\r\n\t\t\tconst fileList = [];\r\n\r\n\t\t\tconst objectId = {\r\n\t\t\t\teoi: this.getEOIId,\r\n\t\t\t\tapplication: this.applicationType !== 'eoi' ? this.getApplicationId(this.getActiveApplication) : null,\r\n\t\t\t\tclaim: this.$route.params.claimId || this.$route.query.claimId\r\n\t\t\t};\r\n\t\t\tfiles.forEach(async (file) => {\r\n\t\t\t\tconst docBody = await base64Encode(file);\r\n\t\t\t\tconst payload = {\r\n\t\t\t\t\tsubject: this.noteSubject,\r\n\t\t\t\t\tfilename: file.name,\r\n\t\t\t\t\tdocumentbody: docBody.split(',')[1],\r\n\t\t\t\t\tobjectid: objectId[this.applicationType],\r\n\t\t\t\t\tobjecttypecode: this.applicationTypeID\r\n\t\t\t\t};\r\n\t\t\t\tfileList.push(payload);\r\n\t\t\t});\r\n\r\n\t\t\tthis.filesToUpload = fileList;\r\n\t\t\tthis.enableUpload = true;\r\n\t\t\tthis.uploaderValue = data;\r\n\t\t},\r\n\t\tuploadFiles () {\r\n\t\t\tthis.uploadMsg = {\r\n\t\t\t\ttype: null,\r\n\t\t\t\ttext: null\r\n\t\t\t};\r\n\t\t\tthis.uploadNotes({ itemType: this.noteSubject, applicationType: this.applicationTypeID, data: this.filesToUpload }).then(res => {\r\n\t\t\t\tthis.uploaderValue = '';\r\n\t\t\t\tthis.enableUpload = false;\r\n\t\t\t\tif (res === true) {\r\n\t\t\t\t\tthis.uploadMsg.text = 'Your files have all been uploaded successfully.';\r\n\t\t\t\t\tthis.uploadMsg.type = 'success';\r\n\t\t\t\t} else if (res.status === 401) {\r\n\t\t\t\t\tthis.redeemToken({\r\n\t\t\t\t\t\trefreshtoken: CookieJar.get(`${process.env.VUE_APP_COOKIE_PREFIX}refresh_token`),\r\n\t\t\t\t\t\tbusinessunit: process.env.VUE_APP_BUSINESS_UNIT\r\n\t\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t\tif (res === true) {\r\n\t\t\t\t\t\t\tthis.uploadFiles();\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t}).catch(() => {\r\n\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.uploadMsg.text = res.message;\r\n\t\t\t\t\tthis.uploadMsg.type = res.type;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (this.showList) {\r\n\t\t\t\t\tthis.populateList();\r\n\t\t\t\t}\r\n\t\t\t}).catch(err => {\r\n\t\t\t\tthis.uploadMsg.text = err.message;\r\n\t\t\t\tthis.uploadMsg.type = 'error';\r\n\t\t\t});\r\n\t\t},\r\n\t\tuploadSharepointFiles () {\r\n\t\t\tthis.uploadMsg = {\r\n\t\t\t\ttype: null,\r\n\t\t\t\ttext: null\r\n\t\t\t};\r\n\t\t\tthis.successfulUploads = [];\r\n\r\n\t\t\tconst promises = this.filesToUpload.map((file) => {\r\n\t\t\t\treturn this.uploadToSharepoint(file).then(res => {\r\n\t\t\t\t\tthis.uploaderValue = '';\r\n\t\t\t\t\tthis.enableUpload = false;\r\n\t\t\t\t\tif (res === true) {\r\n\t\t\t\t\t\tthis.successfulUploads.push(file.fileName);\r\n\t\t\t\t\t} else if (res.status === 401) {\r\n\t\t\t\t\t\tthis.redeemToken({\r\n\t\t\t\t\t\t\trefreshtoken: CookieJar.get(`${process.env.VUE_APP_COOKIE_PREFIX}refresh_token`),\r\n\t\t\t\t\t\t\tbusinessunit: process.env.VUE_APP_BUSINESS_UNIT\r\n\t\t\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t\t\tif (res === true) {\r\n\t\t\t\t\t\t\t\tthis.uploadSharepointFiles();\r\n\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t\t}).catch(() => {\r\n\t\t\t\t\t\t\tthis.$router.push({ name: 'Login' });\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.uploadMsg.text = res.message;\r\n\t\t\t\t\t\tthis.uploadMsg.type = res.type;\r\n\t\t\t\t\t}\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\tthis.uploadMsg.text = err.message;\r\n\t\t\t\t\tthis.uploadMsg.type = 'error';\r\n\t\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\tPromise.all(promises).then(() => {\r\n\t\t\t\tthis.uploadMsg.text = `The following files were uploaded successfully. ${this.successfulUploads.join(', ')}`;\r\n\t\t\t\tthis.uploadMsg.type = 'success';\r\n\t\t\t});\r\n\t\t},\r\n\t\t...mapActions('auth', ['redeemToken']),\r\n\t\t...mapActions('notes', ['uploadNotes', 'loadNotes'])\r\n\t}\r\n};\r\n","\r\n\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{{ helpText }}\r\n\t\t\t\t{{ helpText2 }}\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\r\n\t\tYou have listed activities with a total cost of £{{ getActivityTotalCost.toFixed(2) }} so far\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t fileUploadError = val\"\r\n\t\t\t@uploadFiles=\"uploadFiles()\"\r\n\t\t\t@emitFieldData=\"v => prepareFiles(v)\"\r\n\t\t\t:is-required=\"getUploadedFiles && !getUploadedFiles.length\"\r\n\t\t\t:uploaded-files=\"getUploadedFiles\"\r\n\t\t\t:upload-msg=\"uploadMsg\"\r\n\t\t\tlabel-text=\"Please upload evidence (quote/proposal) for each supplier along with the completed procurement documents\"\r\n\t\t\t:help-text=\"{text: 'When you have selected your files, please click the upload button below. your files will not be saved until you upload them.'}\"\r\n\t\t\trequired-error=\"Please upload evidence (quote/proposal) for each supplier\"\r\n\t\t\t:validation-rules=\"[rules.withinFileSizeLimit]\" />\r\n\t\r\n\r\n\r\n\r\n \r\n","import { render } from \"./project-details-2.vue?vue&type=template&id=2cf70686\"\nimport script from \"./project-details-2.vue?vue&type=script&lang=js\"\nexport * from \"./project-details-2.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ introText.heading }}\r\n\t\t\r\n\t\t\r\n\t\t\t filterSuppliers(v))\"\r\n\t\t\t\trequired-error=\"Please select an option\"\r\n\t\t\t\t:disabled=\"true\"\r\n\t\t\t\t:options-loading=\"activitiesLoading\" />\r\n\r\n\t\t\t formData.ua_activitydescription = val\"\r\n\t\t\t\tlabel-text=\"Can you please outline the rationale for this activity and how this fits within your overall project\"\r\n\t\t\t\t:help-text=\"{text: 'Max 1000 characters'}\"\r\n\t\t\t\trequired-error=\"Please enter your description.\"\r\n\t\t\t\t:validation-rules=\"[(v) => rules.containsLength(v, 2, 1000)]\" />\r\n\r\n\t\t\t formData.ua_anticipatedstartdateofproject = val\"\r\n\t\t\t\trequired-error=\"Please enter a date, month and year\"\r\n\t\t\t\tmin-date=\"today\"\r\n\t\t\t\t:help-text=\"{text: 'This date must be in the future. Please enter in the following format: DD/MM/YYYY'}\"\r\n\t\t\t\t:validation-rules=\"[rules.isValidDate, rules.afterMinDate]\" />\r\n\r\n\t\t\t formData.ua_anticipatedenddateofproject = val\"\r\n\t\t\t\trequired-error=\"Please enter a date, month and year\"\r\n\t\t\t\t:min-date=\"minEndDate\"\r\n\t\t\t\t:max-date=\"maxEndDate\"\r\n\t\t\t\t:help-text=\"{text: 'This date must be in the future. Please enter in the following format: DD/MM/YYYY and cannot not exceed 12 months from the start date of your project' }\"\r\n\t\t\t\t:validation-rules=\"[rules.isValidDate, rules.afterMinDate]\" />\r\n\r\n\t\t\t formData.ua_activitytotalcost = val\"\r\n\t\t\t\t:help-text=\"{text: 'Currency in GBP'}\"\r\n\t\t\t\tlabel-text=\"Activity Amount (£) Exc. VAT\"\r\n\t\t\t\t:step=\"0.01\"\r\n\t\t\t\ticon=\"icon-pound\"\r\n\t\t\t\trequired-error=\"Please enter total project activity cost.\"\r\n\t\t\t\t:validation-rules=\"[(v) => rules.minmax(v, 0, getMaxVaue)]\"\r\n\t\t\t\tinvalid-number=\"Please enter a number in pounds and pence\" />\r\n\r\n\t\t\t checkValue(v))\"\r\n\t\t\t\t:options=\"availableSuppliers\"\r\n\t\t\t\t:options-loading=\"supplierOptsLoading\"\r\n\t\t\t\trequired-error=\"Please select a supplier.\" />\r\n\r\n\t\t\t formData.ua_suppliernotinlistdetails = val\"\r\n\t\t\t\trequired-error=\"Please enter the address and postcode of your chosen supplier\"\r\n\t\t\t\t:validation-rules=\"[(v) => rules.containsLength(v, 3)]\" />\r\n\r\n\t\t\t formData.ua_rationaleforchoiceofsupplier = val\"\r\n\t\t\t\tlabel-text=\"Rationale for choice of supplier\"\r\n\t\t\t\t:help-text=\"{text: 'Max 100 characters'}\"\r\n\t\t\t\trequired-error=\"Please enter your description.\"\r\n\t\t\t\t:validation-rules=\"[(v) => rules.containsLength(v, 0, 100)]\" />\r\n\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\tYou will lose any changes made to this item\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\r\n","import { render } from \"./ActivityFields.vue?vue&type=template&id=f39d2368\"\nimport script from \"./ActivityFields.vue?vue&type=script&lang=js\"\nexport * from \"./ActivityFields.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}
{{ helpText }}
{{ helpText2 }}
You have listed activities with a total cost of £{{ getActivityTotalCost.toFixed(2) }} so far
You will lose any changes made to this item