{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.anchor.js","webpack:///./src/components/Page.vue?21fb","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./src/components/Page.vue?dca0","webpack:///./src/components/PageSectionComponent.vue?2b4b","webpack:///./src/components/PageSectionComponent.vue","webpack:///./src/components/PageSectionComponent.vue?23e7","webpack:///./src/services/page-service.ts","webpack:///./src/components/Page.vue","webpack:///./src/components/Page.vue?4f3f","webpack:///./src/views/administrator/EmployeeHome.vue?a14b","webpack:///./src/views/administrator/EmployeeHome.vue","webpack:///./src/views/administrator/EmployeeHome.vue?2f67","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./src/components/PageSectionComponent.vue?42e6"],"names":["$","createHTML","forcedStringHTMLMethod","target","proto","forced","anchor","name","this","uncurryThis","requireObjectCoercible","toString","quot","replace","module","exports","string","tag","attribute","value","S","p1","_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_LuSpinner","_component_LuLeftMenu","_component_PageSectionComponent","isLoading","key","leftMenuItems","menu","sections","section","index","id","heading","sectionTitle","content","sectionContent","linkText","sectionLinkText","routerLinkUrl","externalLinkUrl","showSeparator","length","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_component_font_awesome_icon","_component_router_link","innerHTML","onClick","saveLinkUrl","to","default","icon","_","href","rel","props","type","String","required","Boolean","methods","setItem","EntryUrl","__exports__","pageTypeId","endpointController","parameterName","parameterArgument","getPageSectionsByTypeId","baseApiUrl","fetch","components","LuLeftMenu","LuLeftMenuItem","LuSpinner","PageSectionComponent","Number","data","Array","computed","locale","$i18n","currentUser","$store","state","generateLeftMenuItems","getPageSections","then","catch","e","console","error","forEach","menuTitle","push","text","url","titleSv","titleEn","contentSv","contentEn","linkTextSv","linkTextEn","menuTitleSv","menuTitleEn","goToEmployeeHome","undefined","entitlements","includes","$router","_component_Page","ref","Page","EmployeeHomePageTypeId","mounted","$refs","page","fails","METHOD_NAME","test","toLowerCase","split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WACjB+C,IAAK,QACJ,KAAM,EAAG,CAAC,e,oGCWM,EAArB,qJAA0C,QAArB,EAAY,gBAdhC,eAAQ,CACPxC,WAAY,CACVyC,OAAA,MAEFnC,KAAM,iBAAO,CAIXb,WAAY,OAAUiD,yBAExBC,QAVO,WAWLvH,KAAKwH,MAAMC,KAAK9B,sBAGC,W,qBCdrB,MAAMvB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASpD,KAErD,gB,8CCPf,IAAI0G,EAAQ,EAAQ,QAIpBpH,EAAOC,QAAU,SAAUoH,GACzB,OAAOD,GAAM,WACX,IAAIE,EAAO,GAAGD,GAAa,KAC3B,OAAOC,IAASA,EAAKC,eAAiBD,EAAKE,MAAM,KAAKnF,OAAS,O,kCCPnE,W","file":"assets/js/chunk-0473dc8a.4a0f9496.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\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!./Page.vue?vue&type=style&index=0&id=07e33759&scoped=true&lang=css\"","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-07e33759\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_LuSpinner = _resolveComponent(\"LuSpinner\")!\n const _component_LuLeftMenu = _resolveComponent(\"LuLeftMenu\")!\n const _component_PageSectionComponent = _resolveComponent(\"PageSectionComponent\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_LuSpinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_ctx.leftMenuItems)\n ? (_openBlock(), _createBlock(_component_LuLeftMenu, {\n key: 1,\n menu: _ctx.leftMenuItems\n }, null, 8, [\"menu\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass(_ctx.leftMenuItems ? 'content' : 'content-no-menu')\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sections, (section, index) => {\n return (_openBlock(), _createBlock(_component_PageSectionComponent, {\n key: section.id,\n section: section,\n heading: _ctx.sectionTitle(section),\n content: _ctx.sectionContent(section),\n anchor: section.id.toString(),\n linkText: _ctx.sectionLinkText(section),\n routerLinkUrl: section.routerLinkUrl,\n externalLinkUrl: section.externalLinkUrl,\n showSeparator: index !== _ctx.sections.length - 1\n }, null, 8, [\"section\", \"heading\", \"content\", \"anchor\", \"linkText\", \"routerLinkUrl\", \"externalLinkUrl\", \"showSeparator\"]))\n }), 128))\n ], 2)\n ]))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0891e7c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = { class: \"section-title page-heading\" }\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = { class: \"spacer\" }\nconst _hoisted_5 = [\"href\"]\nconst _hoisted_6 = { class: \"spacer\" }\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 const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"article\", {\n class: _normalizeClass([\"section\", { 'bottom-border': _ctx.showSeparator }])\n }, [\n _createElementVNode(\"a\", { id: _ctx.anchor }, null, 8, _hoisted_1),\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.heading), 1),\n _createElementVNode(\"div\", {\n class: \"section-content\",\n innerHTML: _ctx.content\n }, null, 8, _hoisted_3),\n (_ctx.routerLinkUrl)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n onClick: _ctx.saveLinkUrl,\n to: _ctx.routerLinkUrl\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.linkText) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_4, [\n _createVNode(_component_font_awesome_icon, { icon: \"chevron-circle-right\" })\n ])\n ]),\n _: 1\n }, 8, [\"onClick\", \"to\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.externalLinkUrl)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n href: _ctx.externalLinkUrl,\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }, [\n _createTextVNode(_toDisplayString(_ctx.linkText) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_6, [\n _createVNode(_component_font_awesome_icon, { icon: \"external-link\" })\n ])\n ], 8, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ], 2))\n}","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\nimport SessionStorageService from \"@/services/sessionstorage-service\";\nimport { Constants } from \"@/constants/constants\";\n\n@Options({\n props: {\n /**\n * The heading for the section\n */\n heading: {\n type: String as PropType,\n required: true,\n },\n /**\n * The text content for the section\n */\n content: {\n type: String as PropType,\n required: true,\n },\n /**\n * The anchor for the section\n */\n anchor: {\n type: String as PropType,\n required: true,\n },\n /**\n * The link text for the section\n */\n linkText: {\n type: String as PropType,\n required: false,\n },\n /**\n * The external link url for the section\n */\n externalLinkUrl: {\n type: String as PropType,\n required: false,\n },\n /**\n * The router link url for the section\n */\n routerLinkUrl: {\n type: String as PropType,\n required: false,\n },\n showSeparator: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n },\n\n methods: {\n saveLinkUrl() {\n SessionStorageService.setItem(Constants.EntryUrl, this.routerLinkUrl);\n },\n },\n})\nexport default class PageSectionComponent extends Vue {}\n","import { render } from \"./PageSectionComponent.vue?vue&type=template&id=0891e7c4&scoped=true&ts=true\"\nimport script from \"./PageSectionComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./PageSectionComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./PageSectionComponent.vue?vue&type=style&index=0&id=0891e7c4&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-0891e7c4\"]])\n\nexport default __exports__","import { PageSection } from \"@/interfaces/api\";\nimport BaseService from \"@/services/base-service\";\n\nclass PageService extends BaseService {\n /**\n * Fetches the page sections with the specified page type id\n *\n * @param {number} pageTypeId - The id of the page type\n * @returns {Promise>} A promise with the PageSection\n */\n getPageSectionsByTypeId(pageTypeId: number): Promise> {\n const endpointController = \"Page\";\n const parameterName = \"pageTypeId\";\n const parameterArgument = pageTypeId;\n const getPageSectionsByTypeId = `${this.baseApiUrl}api/${endpointController}?${parameterName}=${parameterArgument}`;\n return this.fetch>(getPageSectionsByTypeId);\n }\n}\n\nexport default new PageService();\n","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\nimport LuLeftMenu from \"@/components/Lu/LuLeftMenu.vue\";\nimport LuLeftMenuItem from \"@/components/Lu/LuLeftMenuItem.vue\";\nimport PageSectionComponent from \"@/components/PageSectionComponent.vue\";\nimport LuSpinner from \"@/components/Lu/LuSpinner.vue\";\nimport { PageSection } from \"@/interfaces/api\";\nimport type { IMenuItem } from \"@/interfaces/IMenuItem\";\nimport PageService from \"@/services/page-service\";\n\n@Options({\n components: {\n LuLeftMenu,\n LuLeftMenuItem,\n LuSpinner,\n PageSectionComponent,\n },\n props: {\n /**\n * The page type id\n */\n pageTypeId: {\n type: Number as PropType,\n required: false,\n },\n },\n data: () => ({\n /**\n * The page sections to be displayed\n */\n sections: new Array(),\n /**\n * Used to show or hide spinner\n */\n isLoading: false,\n }),\n computed: {\n /**\n * The currently chosen locale\n */\n locale() {\n return this.$i18n.locale;\n },\n /**\n * The current user\n */\n currentUser() {\n return this.$store.state.currentUser;\n },\n /**\n * The left menu items\n */\n leftMenuItems() {\n return this.generateLeftMenuItems();\n },\n },\n methods: {\n /**\n * Fetches the page sections\n */\n getPageSections(): void {\n this.isLoading = true;\n PageService.getPageSectionsByTypeId(this.pageTypeId)\n .then((data: Array) => {\n this.sections = data;\n this.isLoading = false;\n })\n .catch((e: Error) => {\n console.error(e);\n });\n },\n /**\n * Generates the left menu items\n */\n generateLeftMenuItems(): IMenuItem[] | null {\n const menu = new Array();\n\n this.sections.forEach((section: PageSection) => {\n const menuTitle = this.menuTitle(section);\n if (menuTitle) {\n menu.push({\n id: section.id.toString(),\n text: menuTitle,\n url: `#${section.id}`,\n });\n }\n });\n\n return menu.length > 0 ? menu : null;\n },\n /**\n * Gets page section title depending on chosen locale\n */\n sectionTitle(section: PageSection): string {\n return this.locale === \"sv\" ? section.titleSv : section.titleEn;\n },\n /**\n * Gets page section content depending on chosen locale\n */\n sectionContent(section: PageSection): string {\n return this.locale === \"sv\" ? section.contentSv : section.contentEn;\n },\n /**\n * Gets page section link text depending on chosen locale\n */\n sectionLinkText(section: PageSection): string {\n return this.locale === \"sv\" ? section.linkTextSv : section.linkTextEn;\n },\n /**\n * Gets left menu title depending on chosen locale\n */\n menuTitle(section: PageSection): string {\n return this.locale === \"sv\" ? section.menuTitleSv : section.menuTitleEn;\n },\n /**\n * Redirects an employee to the employee start page when they log in\n */\n goToEmployeeHome(): void {\n if (\n this.currentUser !== undefined &&\n this.currentUser.entitlements.includes(\"Employee\")\n ) {\n this.$router.push({\n name: \"EmployeeHome\",\n });\n }\n },\n },\n})\nexport default class Page extends Vue {}\n","import { render } from \"./Page.vue?vue&type=template&id=07e33759&scoped=true&ts=true\"\nimport script from \"./Page.vue?vue&type=script&lang=ts\"\nexport * from \"./Page.vue?vue&type=script&lang=ts\"\n\nimport \"./Page.vue?vue&type=style&index=0&id=07e33759&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-07e33759\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Page = _resolveComponent(\"Page\")!\n\n return (_openBlock(), _createBlock(_component_Page, {\n pageTypeId: _ctx.pageTypeId,\n ref: \"page\"\n }, null, 8, [\"pageTypeId\"]))\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport Page from \"@/components/Page.vue\";\nimport { Constants } from \"@/constants/constants\";\n\n@Options({\n components: {\n Page,\n },\n data: () => ({\n /**\n * The page type id\n */\n pageTypeId: Constants.EmployeeHomePageTypeId,\n }),\n mounted() {\n this.$refs.page.getPageSections();\n },\n})\nexport default class EmployeeHome extends Vue {}\n","import { render } from \"./EmployeeHome.vue?vue&type=template&id=4844aa06&ts=true\"\nimport script from \"./EmployeeHome.vue?vue&type=script&lang=ts\"\nexport * from \"./EmployeeHome.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__","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\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!./PageSectionComponent.vue?vue&type=style&index=0&id=0891e7c4&scoped=true&lang=css\""],"sourceRoot":""}