{"version":3,"sources":["webpack:///./node_modules/core-js/internals/string-pad.js","webpack:///./node_modules/core-js/internals/string-repeat.js","webpack:///./src/helpers/id-helper.ts","webpack:///./src/components/Form/MandatoryFieldFlag.vue?d35e","webpack:///./node_modules/core-js/modules/es.string.pad-start.js","webpack:///./src/components/DetailsHeader.vue?ba0f","webpack:///./src/components/DetailsHeader.vue","webpack:///./src/components/DetailsHeader.vue?135b","webpack:///./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack:///./src/components/DetailsRow.vue?13ad","webpack:///./src/views/SocialSecurityNumber/Student.vue?83e1","webpack:///./src/components/DetailsHeader.vue?067d","webpack:///./src/views/SocialSecurityNumber/Student.vue?188a","webpack:///./src/views/SocialSecurityNumber/Student.vue","webpack:///./src/views/SocialSecurityNumber/Student.vue?59d9","webpack:///./src/services/social-security-number/ssn-service.ts","webpack:///./src/components/Form/MandatoryFieldFlag.vue?e8f2","webpack:///./src/components/Form/MandatoryFieldFlag.vue","webpack:///./src/components/Form/MandatoryFieldFlag.vue?c1c8","webpack:///./src/components/DetailsRow.vue?5ff4","webpack:///./src/components/DetailsRow.vue","webpack:///./src/components/DetailsRow.vue?864c"],"names":["uncurryThis","toLength","toString","$repeat","requireObjectCoercible","repeat","stringSlice","slice","ceil","Math","createMethod","IS_END","$this","maxLength","fillString","fillLen","stringFiller","S","intMaxLength","stringLength","length","fillStr","undefined","module","exports","start","end","global","toIntegerOrInfinity","RangeError","count","str","this","result","n","Infinity","IdHelper","lucatId","currentUser","state","currentUserId","luEduPersonPrimaryId","entitlements","includes","personalId","env","$","$padStart","WEBKIT_BUG","target","proto","forced","padStart","arguments","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","style","_hoisted_5","tabindex","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","render","_ctx","_cache","$props","$setup","$data","$options","_component_font_awesome_icon","showPrevious","key","id","onfocus","onClick","$event","$emit","icon","$t","title","showNext","props","type","String","required","default","Boolean","emits","__exports__","userAgent","test","for","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","href","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_component_DetailsHeader","_component_DetailsRow","roles","$route","query","lucatid","isLoading","caption","details","person","firstName","lastName","email","isSubmitted","year","disabled","hasInterimId","years","y","value","selected","month","months","m","day","days","d","nnnn","placeholder","maxlength","onInput","validateNnnn","isFormValid","submitUpdate","cancelUpdate","feedbackMessage","feedbackMessageClass","name","components","DetailsRow","DetailsHeader","setup","t","store","show","route","router","isSuccess","startDate","endDate","dateFormat","updateInfo","Array","from","_","i","Date","getFullYear","event","replace","console","error","newPersonalId","studentData","newNationalIdentityNumber","submitStudentData","msg","resetFields","push","getStudent","getLuEduPersonPrimaryId","getStudentByLuEduPersonPrimaryId","data","getIfUpdateIsInsertedByLuEduPersonPrimaryId","updateResponse","success","response","warn","formatNationalIdentityNumber","idNumber","getters","getCurrentUser","SsnService","endpointController","endpointRoute","parameterName","parameterArgument","queryString","baseApiUrl","fetch","method","headers","body","JSON","stringify","encodeURIComponent","getUpdateNationalIdentityNumber","url","_component_MandatoryFieldFlag","_component_Badge","_component_Tooltip","detailsAreHtml","showDetailsAsBadge","detailsAreList","innerHTML","showTooltip","text","tooltipText","bgColor","tooltipColor","color","tooltipTextColor","rounded","backgroundColor","badgeBackgroundColor","showDetailsInBadge","item","$slots","Badge","Tooltip","MandatoryFieldFlag"],"mappings":"qGACA,IAAIA,EAAc,EAAQ,QACtBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAU,EAAQ,QAClBC,EAAyB,EAAQ,QAEjCC,EAASL,EAAYG,GACrBG,EAAcN,EAAY,GAAGO,OAC7BC,EAAOC,KAAKD,KAGZE,EAAe,SAAUC,GAC3B,OAAO,SAAUC,EAAOC,EAAWC,GACjC,IAIIC,EAASC,E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K,EAAKyD,SAAYzD,EAAKyD,QAAQxG,OAI5B,eAAoB,IAAI,IAHvB,iBAAc,eAAoB,MAAOgF,EAAa,CACrD,eAAYjC,EAAKsK,OAAQ,UAAW,QAAInN,GAAW,Q,gHCnBxC,EAArB,qJAAwC,QAAnB,EAAU,gBAtF9B,eAAQ,CACPoI,WAAY,CACVgF,QAAA,KACAC,UAAA,KACAC,qBAAA,MAEFvJ,MAAO,CAILsC,QAAS,CACPrC,KAAMC,OACNC,UAAU,GAKZoC,QAAS,CACPtC,KAAM,CAACC,OAAQiF,OACfhF,UAAU,GAKZkI,mBAAoB,CAClBpI,KAAMI,QACNF,UAAU,EACVC,SAAS,GAOX8I,mBAAoB,CAClBjJ,KAAMI,QACNF,UAAU,EACVC,SAAS,GAKX6I,qBAAsB,CACpBhJ,KAAMC,OACNC,UAAU,GAKZmI,eAAgB,CACdrI,KAAMI,QACNF,UAAU,EACVC,SAAS,GAKXgI,eAAgB,CACdnI,KAAMI,QACNF,UAAU,EACVC,SAAS,GAEXoI,YAAa,CACXvI,KAAMI,QACNF,UAAU,EACVC,SAAS,GAEXsI,YAAa,CACXzI,KAAMC,OACNC,UAAU,GAEZyI,aAAc,CACZ3I,KAAMC,OACNC,UAAU,GAEZ2I,iBAAkB,CAChB7I,KAAMC,OACNC,UAAU,GAEZA,SAAU,CACRF,KAAMI,QACNF,UAAU,EACVC,SAAS,OAIM,W,iCCtFrB,MAAMG,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS1B,GAAQ,CAAC,YAAY,qBAE1E","file":"assets/js/chunk-ddf136e4.61b72ec4.js","sourcesContent":["// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","'use strict';\nvar global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar RangeError = global.RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","import store from \"@/store\";\n\nclass IdHelper {\n /**\n * Returns a luEduPersonPrimaryId dependent on the environment and if a querystring parameter has been retrieved\n * Querystring parameter can be used in the URL to imitate note takers\n * ?lucatid=fr5643li\n */\n getLuEduPersonPrimaryId(lucatId: string): string {\n const currentUser = store.state.currentUser;\n const currentUserId = currentUser ? currentUser.luEduPersonPrimaryId : \"\";\n\n const luEduPersonPrimaryId = currentUser?.entitlements?.includes(\n \"SuperAdmin\"\n )\n ? lucatId ?? currentUserId\n : currentUserId;\n\n return luEduPersonPrimaryId;\n }\n\n /**\n * Returns a personalId dependent on the environment and if a querystring parameter has been retrieved\n * Querystring parameter can be used in the URL to imitate another user\n * ?personalId=123456789123\n */\n getPersonalId(personalId: string): string {\n const currentUser = store.state.currentUser;\n const currentUserId = currentUser ? currentUser.personalId : \"\";\n const env = process.env.VUE_APP_ENV_NAME;\n\n if (!personalId) {\n return currentUserId;\n }\n\n const result =\n env === \"Development\" ||\n env === \"Test\" ||\n currentUser?.entitlements?.includes(\"SuperAdmin\") ||\n currentUser?.entitlements?.includes(\"Tuition fees administratör\")\n ? personalId ?? currentUserId\n : currentUserId;\n\n return result;\n }\n}\n\nexport default new IdHelper();\n","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\"","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0f3c00a4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"d-flex flex-row align-items-center p-2\" }\nconst _hoisted_3 = { class: \"d-flex justify-content-start w-100\" }\nconst _hoisted_4 = { style: {\"padding\":\"0 10px\"} }\nconst _hoisted_5 = { tabindex: \"0\" }\nconst _hoisted_6 = { class: \"page-heading\" }\nconst _hoisted_7 = { class: \"d-flex justify-content-end w-100\" }\nconst _hoisted_8 = { tabindex: \"0\" }\nconst _hoisted_9 = { style: {\"padding\":\"0 10px\"} }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_font_awesome_icon = _resolveComponent(\"font-awesome-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.showPrevious)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n id: \"previousBtn\",\n class: \"btn btn-link btn-block text-left\",\n onfocus: \"this.blur()\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('previous')))\n }, [\n _createElementVNode(\"span\", _hoisted_4, [\n _createVNode(_component_font_awesome_icon, { icon: \"arrow-circle-left\" })\n ]),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"pagination.previous\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"h1\", _hoisted_6, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.showNext)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n id: \"nextBtn\",\n class: \"btn btn-link btn-block text-right\",\n onfocus: \"this.blur()\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('next')))\n }, [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.$t(\"pagination.next\")), 1),\n _createElementVNode(\"span\", _hoisted_9, [\n _createVNode(_component_font_awesome_icon, { icon: \"arrow-circle-right\" })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\n\n@Options({\n props: {\n /*\n * Holds the id of the item and is populated from the route's id parameter when the page loads\n */\n title: {\n type: String as PropType,\n required: false,\n default: \"\",\n },\n\n showPrevious: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n\n showNext: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n },\n emits: [\"previous\", \"next\"],\n})\nexport default class DetailsHeader extends Vue {}\n","import { render } from \"./DetailsHeader.vue?vue&type=template&id=0f3c00a4&scoped=true&ts=true\"\nimport script from \"./DetailsHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./DetailsHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./DetailsHeader.vue?vue&type=style&index=0&id=0f3c00a4&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-0f3c00a4\"]])\n\nexport default __exports__","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","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\"","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!./Student.vue?vue&type=style&index=0&id=7e3b55f3&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!./DetailsHeader.vue?vue&type=style&index=0&id=0f3c00a4&scoped=true&lang=css\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelSelect as _vModelSelect, normalizeClass as _normalizeClass, withDirectives as _withDirectives, vModelText as _vModelText, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7e3b55f3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"form-container\"\n}\nconst _hoisted_3 = { class: \"details-container\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"editing-container\"\n}\nconst _hoisted_5 = {\n class: \"form-group mobile-fixed-width\",\n style: {\"width\":\"5.4vw\"}\n}\nconst _hoisted_6 = { for: \"year\" }\nconst _hoisted_7 = [\"disabled\"]\nconst _hoisted_8 = [\"value\", \"selected\"]\nconst _hoisted_9 = {\n class: \"form-group mobile-fixed-width\",\n style: {\"width\":\"3.5vw\"}\n}\nconst _hoisted_10 = { for: \"month\" }\nconst _hoisted_11 = [\"disabled\"]\nconst _hoisted_12 = [\"value\", \"selected\"]\nconst _hoisted_13 = {\n class: \"form-group mobile-fixed-width\",\n style: {\"width\":\"3.5vw\"}\n}\nconst _hoisted_14 = { for: \"day\" }\nconst _hoisted_15 = [\"disabled\"]\nconst _hoisted_16 = [\"value\", \"selected\"]\nconst _hoisted_17 = {\n class: \"form-group mobile-fixed-width\",\n style: {\"width\":\"5.4vw\"}\n}\nconst _hoisted_18 = { for: \"nnnn\" }\nconst _hoisted_19 = [\"placeholder\", \"disabled\"]\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = [\"disabled\"]\nconst _hoisted_22 = {\n key: 1,\n class: \"text-center\",\n style: {\"color\":\"#875e29\"}\n}\nconst _hoisted_23 = {\n key: 0,\n style: {\"font-weight\":\"bold\"}\n}\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" Update pending! Please check \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n style: {\"color\":\"blue\"},\n href: \"https://www.student.ladok.se\"\n }, \" https://www.student.ladok.se \")\n], -1))\nconst _hoisted_25 = [\n _hoisted_24\n]\nconst _hoisted_26 = { key: 1 }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n style: {\"color\":\"blue\"},\n href: \"https://www.student.ladok.se\"\n}, \"https://www.student.ladok.se\", -1))\nconst _hoisted_28 = [\n _hoisted_27\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_DetailsHeader = _resolveComponent(\"DetailsHeader\")!\n const _component_DetailsRow = _resolveComponent(\"DetailsRow\")!\n const _component_font_awesome_icon = _resolveComponent(\"font-awesome-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_DetailsHeader, {\n showNext: false,\n showPrevious: false,\n title: _ctx.$t('shared.routes.personal-identity-number')\n }, null, 8, [\"title\"]),\n ($setup.roles.includes('Student') || (_ctx.$route.query.lucatid && !$setup.isLoading))\n ? (_openBlock(), _createElementBlock(\"form\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_DetailsRow, {\n caption: \"person.personalId\",\n details: `${$setup.person?.personalId}`\n }, null, 8, [\"details\"]),\n _createVNode(_component_DetailsRow, {\n caption: \"person.name\",\n details: `${$setup.person?.firstName}`\n }, null, 8, [\"details\"]),\n _createVNode(_component_DetailsRow, {\n caption: \"person.lastName\",\n details: `${$setup.person?.lastName}`\n }, null, 8, [\"details\"]),\n _createVNode(_component_DetailsRow, {\n caption: \"person.email\",\n details: `${$setup.person?.email}`\n }, null, 8, [\"details\"])\n ]),\n ($setup.person && !$setup.isSubmitted)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"shared.year\")), 1),\n _withDirectives(_createElementVNode(\"select\", {\n id: \"year\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.year) = $event)),\n class: _normalizeClass([\"form-control custom-select\", { 'disabled-input': $setup.isSubmitted }]),\n disabled: !$setup.hasInterimId || $setup.isSubmitted\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.years, (y) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: y,\n value: y,\n selected: $setup.isSubmitted && $setup.year === y\n }, _toDisplayString(y), 9, _hoisted_8))\n }), 128))\n ], 10, _hoisted_7), [\n [_vModelSelect, $setup.year]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"shared.month\")), 1),\n _withDirectives(_createElementVNode(\"select\", {\n id: \"month\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (($setup.month) = $event)),\n class: _normalizeClass([\"form-control custom-select\", { 'disabled-input': $setup.isSubmitted }]),\n disabled: !$setup.hasInterimId || $setup.isSubmitted\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.months, (m) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: m,\n value: m,\n selected: $setup.isSubmitted && $setup.month === m\n }, _toDisplayString(m), 9, _hoisted_12))\n }), 128))\n ], 10, _hoisted_11), [\n [_vModelSelect, $setup.month]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\"shared.day\")), 1),\n _withDirectives(_createElementVNode(\"select\", {\n id: \"day\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (($setup.day) = $event)),\n class: _normalizeClass([\"form-control custom-select\", { 'disabled-input': $setup.isSubmitted }]),\n disabled: !$setup.hasInterimId || $setup.isSubmitted\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.days, (d) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: d,\n value: d,\n selected: $setup.isSubmitted && $setup.day === d\n }, _toDisplayString(d), 9, _hoisted_16))\n }), 128))\n ], 10, _hoisted_15), [\n [_vModelSelect, $setup.day]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"label\", _hoisted_18, _toDisplayString(_ctx.$t(\"nnnn\")), 1),\n _withDirectives(_createElementVNode(\"input\", {\n id: \"nnnn\",\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (($setup.nnnn) = $event)),\n class: _normalizeClass([\"form-control\", { 'disabled-input': $setup.isSubmitted }]),\n style: {\"border-radius\":\"8px\"},\n placeholder: $setup.isSubmitted ? $setup.nnnn : _ctx.$t('shared.four-digits'),\n maxlength: \"4\",\n onInput: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => ($setup.validateNnnn && $setup.validateNnnn(...args))),\n disabled: !$setup.hasInterimId || $setup.isSubmitted\n }, null, 42, _hoisted_19), [\n [_vModelText, $setup.nnnn]\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!$setup.isSubmitted)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"button\", {\n class: \"btn btn-primary\",\n disabled: !$setup.isFormValid || $setup.isSubmitted,\n onClick: _cache[5] || (_cache[5] = _withModifiers(\n//@ts-ignore\n(...args) => ($setup.submitUpdate && $setup.submitUpdate(...args)), [\"prevent\"]))\n }, _toDisplayString(_ctx.$t(\"shared.send\")), 9, _hoisted_21),\n _createElementVNode(\"button\", {\n class: \"btn btn-outline-primary\",\n onClick: _cache[6] || (_cache[6] = _withModifiers(\n//@ts-ignore\n(...args) => ($setup.cancelUpdate && $setup.cancelUpdate(...args)), [\"prevent\"]))\n }, _toDisplayString(_ctx.$t(\"shared.cancel\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n ($setup.isLoading)\n ? (_openBlock(), _createBlock(_component_font_awesome_icon, {\n key: 0,\n class: _normalizeClass([`fa-3x`, \"fa-spin\"]),\n icon: \"circle-notch\"\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.feedbackMessage)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass([$setup.feedbackMessageClass, \"feedback-message\"])\n }, [\n _createTextVNode(_toDisplayString($setup.feedbackMessage) + \" \", 1),\n (\n $setup.feedbackMessage ===\n 'You have submitted a request for an update of your Personal Identity Number.'\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, _hoisted_25))\n : _createCommentVNode(\"\", true),\n (\n $setup.feedbackMessage ===\n 'Your Personal Identity Number has been updated in the Study Administration Systems.'\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, _hoisted_28))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { computed, onMounted, ref } from \"vue\";\nimport DetailsRow from \"@/components/DetailsRow.vue\";\nimport DetailsHeader from \"@/components/DetailsHeader.vue\";\nimport { Student, WF_NationalIdentityNumberChange } from \"@/interfaces/api\";\nimport SsnService from \"@/services/social-security-number/ssn-service\";\nimport IdHelper from \"@/helpers/id-helper\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { useStore } from \"vuex\";\nimport { useI18n } from \"vue-i18n\";\n\nexport default {\n name: \"Student\",\n components: {\n DetailsRow,\n DetailsHeader,\n },\n setup(): Record {\n const { t } = useI18n();\n const store = useStore();\n const show = false;\n const route = useRoute();\n const router = useRouter();\n const person = ref(undefined);\n const isSubmitted = ref(false);\n const isLoading = ref(true);\n const year = ref(\"\");\n const month = ref(\"\");\n const day = ref(\"\");\n const nnnn = ref(\"\");\n const feedbackMessage = ref(\"\");\n const isSuccess = ref(false);\n const roles = ref([]);\n const startDate = ref(null);\n const endDate = ref(null);\n const dateFormat = ref(\"yyyy-MM-dd\");\n const updateInfo = ref(null);\n\n const years = ref(\n Array.from({ length: 100 }, (_, i) => new Date().getFullYear() - i)\n );\n const months = ref(\n Array.from({ length: 12 }, (_, i) => (i + 1).toString().padStart(2, \"0\"))\n );\n const days = ref(\n Array.from({ length: 31 }, (_, i) => (i + 1).toString().padStart(2, \"0\"))\n );\n\n const validateNnnn = (event: Event) => {\n const target = event.target as HTMLInputElement;\n target.value = target.value.replace(/\\D/g, \"\").slice(0, 4);\n nnnn.value = target.value;\n };\n\n const isFormValid = computed(\n () => year.value && month.value && day.value && nnnn.value.length === 4\n );\n\n const feedbackMessageClass = computed(() =>\n isSuccess.value ? \"text-success\" : \"text-danger\"\n );\n\n const submitUpdate = async () => {\n if (!person.value || !person.value.personalId) {\n console.error(\"Person value or personalId is undefined\");\n return;\n }\n\n const newPersonalId = `${year.value}${month.value}${day.value}${nnnn.value}`;\n\n try {\n isLoading.value = true;\n const studentData: WF_NationalIdentityNumberChange = {\n luEduPersonPrimaryId: person.value.luEduPersonPrimaryId,\n newNationalIdentityNumber: newPersonalId,\n };\n await SsnService.submitStudentData(studentData);\n\n const msg =\n \"Thank you for your request. \" +\n \" You will receive an email when your Personal Identity number has been updated in the Study Administration Systems\";\n\n feedbackMessage.value = msg;\n isSuccess.value = true;\n isSubmitted.value = true;\n isLoading.value = false;\n } catch (error) {\n feedbackMessage.value = \"Något gick fel...\";\n isSuccess.value = false;\n resetFields();\n } finally {\n isLoading.value = false;\n }\n };\n\n const cancelUpdate = () => {\n resetFields();\n router.push(\"/\");\n };\n\n const resetFields = () => {\n if (!person.value || !person.value.personalId) {\n console.error(\"Person value or personalId is undefined\");\n return;\n }\n\n year.value = person.value.personalId.slice(0, 4);\n month.value = \"\";\n day.value = \"\";\n nnnn.value = \"\";\n };\n\n const getStudent = async () => {\n const luEduPersonPrimaryId = IdHelper.getLuEduPersonPrimaryId(\n route.query[\"lucatid\"] as string\n );\n\n try {\n const data = await SsnService.getStudentByLuEduPersonPrimaryId(\n luEduPersonPrimaryId\n );\n\n if (!data) {\n isSubmitted.value = false;\n return;\n }\n\n person.value = data;\n year.value = person.value.personalId.slice(0, 4);\n\n // Check if update is available\n try {\n const updateResponse =\n await SsnService.getIfUpdateIsInsertedByLuEduPersonPrimaryId(\n luEduPersonPrimaryId\n );\n\n if (updateResponse?.success && updateResponse.response) {\n isSubmitted.value = true;\n updateInfo.value = updateResponse.response;\n const newNationalIdentityNumber =\n updateResponse.response.newNationalIdentityNumber;\n year.value = newNationalIdentityNumber?.slice(0, 4) || \"\";\n month.value = newNationalIdentityNumber?.slice(4, 6) || \"\";\n day.value = newNationalIdentityNumber?.slice(6, 8) || \"\";\n nnnn.value = newNationalIdentityNumber?.slice(8, 12) || \"\";\n\n feedbackMessage.value =\n person.value.personalId === newNationalIdentityNumber\n ? \"Your Personal Identity Number has been updated in the Study Administration Systems.\"\n : \"You have submitted a request for an update of your Personal Identity Number.\";\n\n isSuccess.value =\n person.value.personalId === newNationalIdentityNumber;\n } else {\n isSubmitted.value = false;\n }\n } catch (error) {\n console.warn(\n \"Update check returned 404, but inputs are still active.\"\n );\n isSubmitted.value = false;\n }\n\n return true;\n } catch (error: unknown) {\n console.error(\"Error in getStudent: \", error);\n feedbackMessage.value =\n \"An error occurred while fetching student data.\";\n isSubmitted.value = false;\n } finally {\n isLoading.value = false;\n }\n };\n\n const formatNationalIdentityNumber = (idNumber: string) => {\n if (!idNumber) {\n console.error(\"idNumber is undefined\");\n return \"\";\n }\n return `${idNumber.slice(0, 8)}-${idNumber.slice(8)}`;\n };\n\n const hasInterimId = computed(\n () => person.value && /[A-Za-z]/.test(person.value.personalId)\n );\n\n onMounted(() => {\n getStudent();\n const currentUser = store.getters.getCurrentUser;\n roles.value = currentUser.entitlements;\n });\n\n return {\n t,\n show,\n person,\n years,\n isLoading,\n months,\n days,\n year,\n month,\n day,\n nnnn,\n updateInfo,\n feedbackMessage,\n feedbackMessageClass,\n cancelUpdate,\n submitUpdate,\n validateNnnn,\n getStudent,\n hasInterimId,\n isFormValid,\n isSubmitted,\n roles,\n startDate,\n endDate,\n dateFormat,\n formatNationalIdentityNumber,\n };\n },\n};\n","import { render } from \"./Student.vue?vue&type=template&id=7e3b55f3&scoped=true&ts=true\"\nimport script from \"./Student.vue?vue&type=script&lang=ts\"\nexport * from \"./Student.vue?vue&type=script&lang=ts\"\n\nimport \"./Student.vue?vue&type=style&index=0&id=7e3b55f3&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-7e3b55f3\"]])\n\nexport default __exports__","import { Student, WF_NationalIdentityNumberChange } from \"@/interfaces/api\";\nimport BaseService from \"@/services/base-service\";\n\nexport interface UpdateResponse {\n response: WF_NationalIdentityNumberChange;\n success: boolean;\n}\n\nclass SsnService extends BaseService {\n /**\n * Fetches the student with the specified luEduPersonPrimaryId\n *\n * @param {string} luEduPersonPrimaryId - The luEduPersonPrimaryId of the student to fetch\n * @returns {Promise} A Promise with a student response\n */\n getStudentByLuEduPersonPrimaryId(\n luEduPersonPrimaryId: string\n ): Promise {\n const endpointController = \"Student\";\n const endpointRoute = \"primaryId\";\n const parameterName = \"luEduPersonPrimaryId\";\n const parameterArgument = luEduPersonPrimaryId;\n const queryString = `${parameterName}=${parameterArgument}`;\n const getStudentByLuEduPersonPrimaryId = `${this.baseApiUrl}api/${endpointController}/${endpointRoute}?${queryString}`;\n return this.fetch(getStudentByLuEduPersonPrimaryId);\n }\n\n /**\n * The `submitStudentData` function sends a POST request to submit student data.\n * @param {any} studentData - The data of the student to be submitted.\n * @returns A Promise that resolves to the response data.\n */\n async submitStudentData(\n studentData: WF_NationalIdentityNumberChange\n ): Promise {\n try {\n const endpointController = \"NationalIdentityNumber\";\n const endpointRoute = \"socialSecurityNumber\";\n const submitStudentData = `${this.baseApiUrl}api/${endpointController}/${endpointRoute}`;\n return this.fetch(submitStudentData, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify(studentData),\n });\n } catch (error) {\n // Handle errors appropriately\n console.error(\"Error submitting student data: \", error);\n throw error;\n }\n }\n\n /**\n * Checks if the update of the national identity number for the student with the specified luEduPersonPrimaryId exists.\n *\n * @param {string} luEduPersonPrimaryId - The luEduPersonPrimaryId of the student to check\n * @returns {Promise<{ response: WF_NationalIdentityNumberChange | null; success: boolean }>} A Promise with the updated information\n */\n getIfUpdateIsInsertedByLuEduPersonPrimaryId(\n luEduPersonPrimaryId: string\n ): Promise<{\n response: WF_NationalIdentityNumberChange | null;\n success: boolean;\n }> {\n const endpointController = \"NationalIdentityNumber\";\n const endpointRoute = \"updatedNationalIdentityNumber\";\n const parameterName = \"lucatid\";\n const queryString = `${parameterName}=${encodeURIComponent(\n luEduPersonPrimaryId\n )}`;\n const getUpdateNationalIdentityNumber = `${this.baseApiUrl}api/${endpointController}/${endpointRoute}?${queryString}`;\n return this.fetch<{\n response: WF_NationalIdentityNumberChange | null;\n success: boolean;\n }>(getUpdateNationalIdentityNumber);\n }\n\n /**\n * Exports student data to a excel file based on the provided date range.\n *\n * @param {string} startDate - The start date of the date range for the export.\n * @param {string} endDate - The end date of the date range for the export.\n */\n async exportStudentsToExcel(\n startDate: string | null,\n endDate: string\n ): Promise {\n const endpointController = \"Download\";\n const endpointRoute = \"export\";\n const queryString = `startDate=${startDate}&endDate=${endDate}`;\n const url = `${this.baseApiUrl}api/${endpointController}/${endpointRoute}?${queryString}`;\n\n return await this.fetch(url);\n }\n}\n\nexport default new SsnService();\n","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, 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":""}