{"version":3,"sources":["webpack:///./src/components/Form/CheckboxInput.vue?2387","webpack:///./src/components/Form/CheckboxInput.vue","webpack:///./src/components/Form/CheckboxInput.vue?0481","webpack:///./src/components/Form/MandatoryFieldFlag.vue?d35e","webpack:///./src/components/DetailsRow.vue?13ad","webpack:///./src/components/Form/MandatoryFieldFlag.vue?e8f2","webpack:///./src/components/Form/MandatoryFieldFlag.vue","webpack:///./src/components/Form/MandatoryFieldFlag.vue?c1c8","webpack:///./src/views/OfferResponse.vue?16dd","webpack:///./src/services/offer-service.ts","webpack:///./src/views/OfferResponse.vue","webpack:///./src/views/OfferResponse.vue?aeae","webpack:///./src/components/DetailsRow.vue?5ff4","webpack:///./src/components/DetailsRow.vue","webpack:///./src/components/DetailsRow.vue?864c"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","key","render","_ctx","_cache","$props","$setup","$data","$options","type","ariaLabel","id","fieldId","checked","disabled","required","onChange","$event","onUpdate","target","style","cursor","ref","onInvalid","validityMessage","setValidityMessage","label","for","helpText","props","String","Boolean","default","emits","methods","isChecked","this","$emit","message","$refs","input","setCustomValidity","__exports__","title","$t","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_component_Modal","_component_LuSpinner","_component_DetailsRow","_component_CheckboxInput","offer","onClose","$router","push","name","header","noteTaker","firstName","_","isLoading","caption","courseOccurrence","courseCode","$root","$i18n","locale","titleSv","titleEn","courseStartDate","href","termsAndConditionsUrl","rel","onClick","haveClickedLink","termsAccepted","acceptOffer","declineOffer","offerId","endpointController","parameterName","parameterArgument","getOfferById","baseApiUrl","fetch","method","headers","body","JSON","stringify","components","Modal","DetailsRow","CheckboxInput","LuSpinner","Number","data","computed","apiFilesUrl","NoteSupportFilesRelativeUrl","NoteSupportTermsAndConditionsPdfSv","NoteSupportTermsAndConditionsPdfEn","getOffer","$route","params","parseInt","then","confirmed","canceled","$store","state","currentUser","entitlements","includes","checkIfCorrectUser","catch","statusCode","alert","luEduPersonPrimaryId","result","open","mounted","watch","_component_MandatoryFieldFlag","_component_Badge","_component_Tooltip","detailsAreHtml","showDetailsAsBadge","detailsAreList","details","innerHTML","showTooltip","text","tooltipText","bgColor","tooltipColor","color","tooltipTextColor","rounded","backgroundColor","badgeBackgroundColor","showDetailsInBadge","item","length","$slots","undefined","Badge","Tooltip","MandatoryFieldFlag","Array"],"mappings":"kIAEMA,EAAa,CAAEC,MAAO,yBACtBC,EAAa,CAAC,aAAc,KAAM,UAAW,WAAY,YACzDC,EAAa,CAAC,OACdC,EAAa,CACjBC,IAAK,EACLJ,MAAO,wBAGH,SAAUK,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,iBAAc,eAAoB,MAAOZ,EAAY,CAC3D,eAAoB,QAAS,CAC3Ba,KAAM,WACNZ,MAAO,mBACP,aAAcM,EAAKO,UACnBC,GAAIR,EAAKS,QACTC,QAASV,EAAKU,QACdC,SAAUX,EAAKW,SACfC,SAAUZ,EAAKY,SACfC,SAAUZ,EAAO,KAAOA,EAAO,GAAK,SAACa,GAAD,OAAkBd,EAAKe,SAASD,EAAOE,OAAON,WAClFO,MAAO,eAAgB,CAAEC,OAAQlB,EAAKW,SAAW,cAAgB,YACjEQ,IAAK,QACLC,UAAWnB,EAAO,KAAOA,EAAO,GAAK,SAACa,GAAD,OAAkBd,EAAKqB,gBAAkBrB,EAAKsB,mBAAmBtB,EAAKqB,iBAAmB,QAC7H,KAAM,GAAI1B,GACZK,EAAKuB,OACD,iBAAc,eAAoB,QAAS,CAC1CzB,IAAK,EACLJ,MAAO,mBACP8B,IAAKxB,EAAKS,SACT,eAAiBT,EAAKuB,OAAQ,EAAG3B,IACpC,eAAoB,IAAI,GAC3BI,EAAKyB,UACD,iBAAc,eAAoB,QAAS5B,EAAY,eAAiBG,EAAKyB,UAAW,IACzF,eAAoB,IAAI,K,4ECoDX,EAArB,q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NhB,UAAU,EACViB,SAAS,GAKXuG,eAAgB,CACd9H,KAAMsB,QACNhB,UAAU,EACViB,SAAS,GAEX4G,YAAa,CACXnI,KAAMsB,QACNhB,UAAU,EACViB,SAAS,GAEX8G,YAAa,CACXrI,KAAMqB,OACNf,UAAU,GAEZiI,aAAc,CACZvI,KAAMqB,OACNf,UAAU,GAEZmI,iBAAkB,CAChBzI,KAAMqB,OACNf,UAAU,GAEZA,SAAU,CACRN,KAAMsB,QACNhB,UAAU,EACViB,SAAS,OAIM,W,iCCtFrB,MAAMU,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASxC,GAAQ,CAAC,YAAY,qBAE1E","file":"assets/js/chunk-1fa2084f.b0864bc0.js","sourcesContent":["import { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-group form-check\" }\nconst _hoisted_2 = [\"aria-label\", \"id\", \"checked\", \"disabled\", \"required\"]\nconst _hoisted_3 = [\"for\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"form-text text-muted\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"form-check-input\",\n \"aria-label\": _ctx.ariaLabel,\n id: _ctx.fieldId,\n checked: _ctx.checked,\n disabled: _ctx.disabled,\n required: _ctx.required,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onUpdate($event.target.checked))),\n style: _normalizeStyle({ cursor: _ctx.disabled ? 'not-allowed' : 'pointer' }),\n ref: \"input\",\n onInvalid: _cache[1] || (_cache[1] = ($event: any) => (_ctx.validityMessage ? _ctx.setValidityMessage(_ctx.validityMessage) : null))\n }, null, 44, _hoisted_2),\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n class: \"form-check-label\",\n for: _ctx.fieldId\n }, _toDisplayString(_ctx.label), 9, _hoisted_3))\n : _createCommentVNode(\"\", true),\n (_ctx.helpText)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_4, _toDisplayString(_ctx.helpText), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\n\n@Options({\n props: {\n /**\n * The Id of the checkbox\n */\n fieldId: {\n type: String as PropType,\n required: false,\n },\n /**\n * The label value for the checkbox\n */\n label: {\n type: String as PropType,\n required: false,\n },\n /**\n * The aria label value for the checkbox\n */\n ariaLabel: {\n type: String as PropType,\n required: false,\n },\n /**\n * If the checkbox is checked\n */\n checked: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If the checkbox is disabled\n */\n disabled: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * The help text for the checkbox\n */\n helpText: {\n type: String as PropType,\n required: false,\n },\n /**\n * If the input is required\n */\n required: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * Custom validity message\n */\n validityMessage: {\n type: String as PropType,\n required: false,\n },\n },\n emits: [\"update:checked\", \"update\"],\n methods: {\n /**\n * Gets called when the value changes\n */\n onUpdate(isChecked: boolean): void {\n this.setValidityMessage(\"\");\n this.$emit(\"update:checked\", isChecked);\n this.$emit(\"update\", isChecked);\n },\n /**\n * Sets a custom validity message\n *\n * @param {string} message The message\n */\n setValidityMessage(message: string): void {\n this.$refs.input.setCustomValidity(message);\n },\n },\n})\nexport default class CheckboxInput extends Vue {}\n","import { render } from \"./CheckboxInput.vue?vue&type=template&id=77a7f6a0&ts=true\"\nimport script from \"./CheckboxInput.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckboxInput.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\GIT\\\\StudentPortal\\\\student-portal-web\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MandatoryFieldFlag.vue?vue&type=style&index=0&id=11cc3317&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./DetailsRow.vue?vue&type=style&index=0&id=0948d347&scoped=true&lang=css\"","import { openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-11cc3317\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"title\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: \"mandatory-field-flag\",\n title: _ctx.$t('mandatoryField.title')\n }, \" * \", 8, _hoisted_1))\n}","\nimport { Vue } from \"vue-class-component\";\n\nexport default class MandatoryFieldFlag extends Vue {}\n","import { render } from \"./MandatoryFieldFlag.vue?vue&type=template&id=11cc3317&scoped=true&ts=true\"\nimport script from \"./MandatoryFieldFlag.vue?vue&type=script&lang=ts\"\nexport * from \"./MandatoryFieldFlag.vue?vue&type=script&lang=ts\"\n\nimport \"./MandatoryFieldFlag.vue?vue&type=style&index=0&id=11cc3317&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\GIT\\\\StudentPortal\\\\student-portal-web\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-11cc3317\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"m-0\" }\nconst _hoisted_2 = { class: \"p-3\" }\nconst _hoisted_3 = { class: \"m-0\" }\nconst _hoisted_4 = { class: \"p-3\" }\nconst _hoisted_5 = { class: \"m-0\" }\nconst _hoisted_6 = { class: \"p-3\" }\nconst _hoisted_7 = {\n key: 2,\n class: \"card col-12 col-lg-8\"\n}\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { class: \"mt-3\" }\nconst _hoisted_10 = [\"href\"]\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\". \")\nconst _hoisted_12 = { class: \"detailsRow d-flex\" }\nconst _hoisted_13 = { class: \"detailsCol\" }\nconst _hoisted_14 = [\"disabled\"]\nconst _hoisted_15 = [\"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Modal = _resolveComponent(\"Modal\")!\n const _component_LuSpinner = _resolveComponent(\"LuSpinner\")!\n const _component_DetailsRow = _resolveComponent(\"DetailsRow\")!\n const _component_CheckboxInput = _resolveComponent(\"CheckboxInput\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.offer !== null)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_Modal, {\n ref: \"accepted-modal\",\n onClose: _cache[0] || (_cache[0] = ($event: any) => (this.$router.push({ name: 'StudentHome' })))\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h2\", _hoisted_1, _toDisplayString(_ctx.$t(\"offerresponse.popup-accepted.title\", {\n name: _ctx.offer.noteTaker.firstName,\n })), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"offerresponse.popup-accepted.message\")), 1)\n ]),\n _: 1\n }, 512),\n _createVNode(_component_Modal, {\n ref: \"declined-modal\",\n onClose: _cache[1] || (_cache[1] = ($event: any) => (this.$router.push({ name: 'StudentHome' })))\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h2\", _hoisted_3, _toDisplayString(_ctx.$t(\"offerresponse.popup-declined.title\")), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.$t(\"offerresponse.popup-declined.message\")), 1)\n ]),\n _: 1\n }, 512),\n _createVNode(_component_Modal, { ref: \"error-modal\" }, {\n header: _withCtx(() => [\n _createElementVNode(\"h2\", _hoisted_5, _toDisplayString(_ctx.$t(\"shared.popup-error.title\", {\n name: _ctx.offer.noteTaker.firstName,\n })), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.$t(\"shared.popup-error.message\")), 1)\n ]),\n _: 1\n }, 512)\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_LuSpinner, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_ctx.offer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.$t(\"course-occurrence.offer.offer-response-title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"course-occurrence.offer.offer-response-description\")), 1),\n (_ctx.offer)\n ? (_openBlock(), _createElementBlock(\"fieldset\", _hoisted_8, [\n _createElementVNode(\"legend\", null, _toDisplayString(_ctx.$t(\"course-occurrence.offer.offer-information-title\")), 1),\n _createVNode(_component_DetailsRow, { caption: \"shared.courseCode\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.offer.courseOccurrence.courseCode), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_DetailsRow, { caption: \"course-occurrence.title\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$root.$i18n.locale === \"sv\"\n ? _ctx.offer.courseOccurrence.titleSv\n : _ctx.offer.courseOccurrence.titleEn), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_DetailsRow, { caption: \"course-occurrence.courseStartDate\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.offer.courseOccurrence.courseStartDate), 1)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"section\", _hoisted_9, [\n _createElementVNode(\"p\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"course-occurrence.offer.policy-required-description\")) + \" \", 1),\n _createElementVNode(\"a\", {\n id: \"termsLink\",\n href: _ctx.termsAndConditionsUrl,\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.haveClickedLink = true))\n }, _toDisplayString(_ctx.$t(\"course-occurrence.offer.terms-and-conditions\")), 9, _hoisted_10),\n _hoisted_11\n ]),\n _createVNode(_component_CheckboxInput, {\n id: \"accept\",\n fieldId: \"accept\",\n label: _ctx.$t('shared.accept-policy-full'),\n checked: _ctx.termsAccepted,\n disabled: !_ctx.haveClickedLink,\n onUpdate: _cache[3] || (_cache[3] = (checked) => (_ctx.termsAccepted = checked))\n }, null, 8, [\"label\", \"checked\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n \"background-color\": \"btn btn-primary\",\n id: \"acceptBtn\",\n type: \"button\",\n class: \"btn btn-primary mr-2\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.acceptOffer())),\n disabled: !_ctx.termsAccepted || _ctx.isLoading\n }, _toDisplayString(_ctx.$t(\"shared.accept\")), 9, _hoisted_14)\n ]),\n _createElementVNode(\"button\", {\n id: \"declineBtn\",\n type: \"button\",\n class: \"btn btn-outline-primary\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.declineOffer())),\n disabled: _ctx.isLoading\n }, _toDisplayString(_ctx.$t(\"shared.decline\")), 9, _hoisted_15)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { NoteTakerOffer } from \"@/interfaces/api\";\nimport BaseService from \"@/services/base-service\";\n\nclass OfferService extends BaseService {\n /**\n * Fetches the offer with the specified id\n *\n * @param {number} offerId - The id of the note-taker offer\n * @returns {Promise} A Promise with the NoteTakerOffer\n */\n getOfferById(offerId: number): Promise {\n const endpointController = \"Offer\";\n const parameterName = \"offerId\";\n const parameterArgument = offerId;\n const getOfferById = `${this.baseApiUrl}api/${endpointController}?${parameterName}=${parameterArgument}`;\n return this.fetch(getOfferById);\n }\n\n acceptOffer(offer: NoteTakerOffer): Promise {\n const endpointController = \"Offer\";\n const acceptOffer = `${this.baseApiUrl}api/${endpointController}`;\n return this.fetch(acceptOffer, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify(offer),\n });\n }\n\n declineOffer(offerId: number): Promise {\n const endpointController = \"Offer\";\n const parameterName = \"offerId\";\n const parameterArgument = offerId;\n const acceptOffer = `${this.baseApiUrl}api/${endpointController}?${parameterName}=${parameterArgument}`;\n return this.fetch(acceptOffer, {\n method: \"DELETE\",\n });\n }\n}\n\nexport default new OfferService();\n","\nimport { Options, Vue } from \"vue-class-component\";\nimport Modal from \"@/components/Modal.vue\";\nimport DetailsRow from \"@/components/DetailsRow.vue\";\nimport CheckboxInput from \"@/components/Form/CheckboxInput.vue\";\nimport OfferService from \"@/services/offer-service\";\nimport { Constants } from \"@/constants/constants\";\nimport LuSpinner from \"@/components/Lu/LuSpinner.vue\";\nimport { PropType } from \"vue\";\n\n@Options({\n components: {\n Modal,\n DetailsRow,\n CheckboxInput,\n LuSpinner,\n },\n props: {\n /**\n * The id of the offer\n */\n offerId: {\n type: Number as PropType,\n required: true,\n },\n },\n data: () => ({\n /**\n * The note-taker offer to be accepted\n */\n offer: null,\n /**\n * Used to disable submit button\n */\n termsAccepted: false,\n /**\n * Used to disable terms accepted checkbox\n */\n haveClickedLink: false,\n /**\n * Used to show or hide spinner\n */\n isLoading: false,\n }),\n computed: {\n /**\n * Generates a URL to a PDF containing the terms and conditions\n */\n termsAndConditionsUrl(): string {\n const baseApiUrl = process.env.VUE_APP_BASE_API_URL;\n const apiFilesUrl = `${baseApiUrl}${Constants.NoteSupportFilesRelativeUrl}`;\n return this.$i18n.locale === \"sv\"\n ? `${apiFilesUrl}${Constants.NoteSupportTermsAndConditionsPdfSv}`\n : `${apiFilesUrl}${Constants.NoteSupportTermsAndConditionsPdfEn}`;\n },\n },\n methods: {\n getOffer(): void {\n if (this.$route.name === \"OfferResponse\" && this.$route.params.id) {\n const offerId = parseInt(this.$route.params.id);\n OfferService.getOfferById(offerId)\n .then((offer) => {\n if (offer?.confirmed || offer?.canceled) {\n return this.$router.push({\n name: \"NotFound\",\n });\n } else {\n this.offer = offer;\n if (\n !this.$store.state.currentUser.entitlements.includes(\n \"SuperAdmin\"\n )\n ) {\n this.checkIfCorrectUser();\n }\n }\n })\n .catch((statusCode) => {\n if (statusCode === 404) {\n return this.$router.push({\n name: \"NotFound\",\n });\n } else {\n alert(\"Something went wrong\");\n }\n });\n }\n },\n checkIfCorrectUser(): void {\n if (\n this.offer.noteTaker.luEduPersonPrimaryId !==\n this.$store.state.currentUser.luEduPersonPrimaryId\n ) {\n this.$router.push({\n name: \"Unauthorized\",\n });\n }\n },\n acceptOffer(): void {\n this.isLoading = true;\n OfferService.acceptOffer(this.offer).then((result: boolean) => {\n this.isLoading = false;\n if (result) {\n this.$refs[\"accepted-modal\"].open();\n } else {\n this.$refs[\"error-modal\"].open();\n }\n });\n },\n declineOffer(): void {\n this.isLoading = true;\n OfferService.declineOffer(this.offerId).then((result: boolean) => {\n this.isLoading = false;\n if (result) {\n this.$refs[\"declined-modal\"].open();\n } else {\n this.$refs[\"error-modal\"].open();\n }\n });\n },\n },\n async mounted() {\n this.getOffer();\n },\n watch: {\n $route() {\n this.getOffer();\n },\n },\n})\nexport default class OfferResponse extends Vue {}\n","import { render } from \"./OfferResponse.vue?vue&type=template&id=52fef495&ts=true\"\nimport script from \"./OfferResponse.vue?vue&type=script&lang=ts\"\nexport * from \"./OfferResponse.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\GIT\\\\StudentPortal\\\\student-portal-web\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0948d347\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"detailsRow\" }\nconst _hoisted_2 = { class: \"detailsCaption\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"detailsCol\"\n}\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = {\n key: 2,\n class: \"detailsCol\"\n}\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { key: 1 }\nconst _hoisted_10 = {\n key: 3,\n class: \"detailsCol\"\n}\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = [\"innerHTML\"]\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = {\n key: 4,\n class: \"detailsCol\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_MandatoryFieldFlag = _resolveComponent(\"MandatoryFieldFlag\")!\n const _component_Badge = _resolveComponent(\"Badge\")!\n const _component_Tooltip = _resolveComponent(\"Tooltip\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createTextVNode(_toDisplayString(_ctx.caption ? _ctx.$t(_ctx.caption) : \"\") + \" \", 1),\n (_ctx.required)\n ? (_openBlock(), _createBlock(_component_MandatoryFieldFlag, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]),\n (\n !_ctx.detailsAreHtml && !_ctx.showDetailsAsBadge && !_ctx.detailsAreList && _ctx.details\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_ctx.details), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.detailsAreHtml && !_ctx.showDetailsAsBadge && !_ctx.detailsAreList)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"detailsCol\",\n innerHTML: _ctx.details\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (_ctx.showDetailsAsBadge)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_ctx.showTooltip)\n ? (_openBlock(), _createBlock(_component_Tooltip, {\n key: 0,\n text: _ctx.tooltipText,\n bgColor: _ctx.tooltipColor,\n color: _ctx.tooltipTextColor\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Badge, {\n rounded: true,\n backgroundColor: _ctx.badgeBackgroundColor\n }, {\n default: _withCtx(() => [\n (_ctx.showDetailsInBadge)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_ctx.details), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \" \"))\n ]),\n _: 1\n }, 8, [\"backgroundColor\"])\n ]),\n _: 1\n }, 8, [\"text\", \"bgColor\", \"color\"]))\n : (_openBlock(), _createBlock(_component_Badge, {\n key: 1,\n rounded: true,\n backgroundColor: _ctx.badgeBackgroundColor\n }, {\n default: _withCtx(() => [\n (_ctx.showDetailsInBadge)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.details), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_9, \" \"))\n ]),\n _: 1\n }, 8, [\"backgroundColor\"]))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.detailsAreList)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_ctx.detailsAreHtml)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.details, (item) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: item,\n innerHTML: item\n }, null, 8, _hoisted_12))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"ul\", _hoisted_13, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.details, (item) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: item }, _toDisplayString(item), 1))\n }), 128))\n ]))\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.details || !_ctx.details.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\nimport Badge from \"@/components/Badge.vue\";\nimport Tooltip from \"@/components/Tooltip.vue\";\nimport MandatoryFieldFlag from \"@/components/Form/MandatoryFieldFlag.vue\";\n\n@Options({\n components: {\n Badge,\n Tooltip,\n MandatoryFieldFlag,\n },\n props: {\n /**\n * The caption for the row\n */\n caption: {\n type: String as PropType,\n required: false,\n },\n /**\n * The info/details for the row\n */\n details: {\n type: [String, Array] as PropType>,\n required: false,\n },\n /**\n * If set to true the details are shown as a badge\n */\n showDetailsAsBadge: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If set to true the details are shown in the badge,\n * otherwise the badge can be used for example purely as a status color\n * showDetailsAsBadge must also be set to true\n */\n showDetailsInBadge: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * Background color of the badge\n */\n badgeBackgroundColor: {\n type: String as PropType,\n required: false,\n },\n /**\n * If set to true the details are shown as a list\n */\n detailsAreList: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If set to true the details are rendered as a HTML\n */\n detailsAreHtml: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n showTooltip: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n tooltipText: {\n type: String as PropType,\n required: false,\n },\n tooltipColor: {\n type: String as PropType,\n required: false,\n },\n tooltipTextColor: {\n type: String as PropType,\n required: false,\n },\n required: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n },\n})\nexport default class DetailsRow extends Vue {}\n","import { render } from \"./DetailsRow.vue?vue&type=template&id=0948d347&scoped=true&ts=true\"\nimport script from \"./DetailsRow.vue?vue&type=script&lang=ts\"\nexport * from \"./DetailsRow.vue?vue&type=script&lang=ts\"\n\nimport \"./DetailsRow.vue?vue&type=style&index=0&id=0948d347&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\GIT\\\\StudentPortal\\\\student-portal-web\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0948d347\"]])\n\nexport default __exports__"],"sourceRoot":""}