{"version":3,"sources":["webpack:///./src/components/Table.vue?c12d","webpack:///./src/components/TableInfo.vue?a0f4","webpack:///./src/components/TableInfo.vue","webpack:///./src/components/TableInfo.vue?8627","webpack:///./src/components/Pagination.vue?79d4","webpack:///./src/components/Pagination.vue","webpack:///./src/components/Pagination.vue?2044","webpack:///./src/components/Table.vue","webpack:///./src/components/Table.vue?2326","webpack:///./src/components/Form/Select.vue?4447","webpack:///./node_modules/core-js/modules/es.object.get-own-property-names.js","webpack:///./src/components/Pagination.vue?5f6a","webpack:///./src/components/Form/Select.vue?8f13","webpack:///./src/components/Form/Select.vue","webpack:///./src/components/Form/Select.vue?4e3e","webpack:///./src/components/Table.vue?3787"],"names":["_hoisted_1","class","_hoisted_2","key","_hoisted_3","_hoisted_4","_hoisted_5","style","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","render","_ctx","_cache","$props","$setup","$data","$options","_component_Pagination","_component_Select","_component_TableInfo","_component_LuSpinner","_component_font_awesome_icon","showPagination","rowsHaveLoaded","pagingData","shouldFocus","onPageNumberChanged","onPageNumberChange","pageHeading","isLoading","$slots","actions","undefined","allowChangeRowPerPage","options","pageSizeOptions","value","pageSize","$event","onChange","onPageSizeChange","showNumRows","useSpinner","showSpinner","noDataText","$t","cols","length","stickyHead","rowActionStart","col","colIndex","scope","onClick","unsortableColumns","includes","sortTable","cursor","allowSort","width","lastColWidth","colWidth","stickyFirstColumn","sortColumn","capitalize","ascending","icon","rowActionEnd","getRows","row","rowIndex","onRowClick","onCellClick","val","start","end","total","totalCount","props","type","Object","required","computed","rowsCurrentPage","rowsLeft","this","currentPage","__exports__","ref","tabindex","onKeydown","handleKeydown","hasPrevious","changePageNumber","pageNumbers","pageNum","index","page","hasNext","totalPages","maxVisiblePages","Number","default","Boolean","methods","pageNumber","$emit","event","ctrl","ctrlKey","maxVisiblePageLinks","startPageNumber","startPage","Array","Math","min","i","push","mounted","$nextTick","$refs","keydownElement","focus","components","Pagination","TableInfo","Select","LuSpinner","rows","String","hiddenColumns","overrideColWidthCalculation","data","colWidthForAll","getOwnPropertyNames","forEach","round","getColWidthString","delaySpinnerDisplay","sleep","then","milliseconds","Promise","resolve","setTimeout","str","charAt","toUpperCase","slice","columnName","rowData","cellName","watch","$","fails","f","FAILS_ON_PRIMITIVES","target","stat","forced","label","disabled","updateValue","onInvalid","validityMessage","setValidityMessage","placeholder","selected","option","helpText","isNumber","parseInt","message","input","setCustomValidity"],"mappings":"sJAGMA,EAAa,CAAEC,MAAO,6EACtBC,EAAa,CACjBC,IAAK,EACLF,MAAO,0EAEHG,EAAa,CAAC,cACdC,EAAa,CACjBF,IAAK,EACLF,MAAO,6EAEHK,EAAa,CACjBH,IAAK,EACLI,MAAO,CAAC,aAAa,WAEjBC,EAAa,CACjBL,IAAK,EACLF,MAAO,uBAEHQ,EAAa,CAAEN,IAAK,GACpBO,EAAa,CAAC,WACdC,EAAa,CACjBJ,MAAO,CAAC,cAAc,UACtBN,MAAO,eAEHW,EAAc,CAAET,IAAK,GACrBU,EAAc,CAAEZ,MAAO,IACvBa,EAAc,CAAC,WACfC,EAAc,CAAEZ,IAAK,GACrBa,EAAc,CAAC,WACfC,EAAc,CAAEd,IAAK,GACrBe,EAAc,CAClBf,IAAK,EACLF,MAAO,oBAGH,SAAUkB,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAwB,eAAkB,cAC1CC,EAAoB,eAAkB,UACtCC,EAAuB,eAAkB,aACzCC,EAAuB,eAAkB,aACzCC,EAA+B,eAAkB,qBAEvD,OAAQ,iBAAc,eAAoB,MAAO,KAAM,CACrD,eAAoB,MAAO9B,EAAY,CACpCoB,EAAKW,gBAAkBX,EAAKY,gBACxB,iBAAc,eAAaN,EAAuB,CACjDvB,IAAK,EACLF,MAAO,UACPgC,WAAYb,EAAKa,WACjBC,aAAa,EACbC,oBAAqBf,EAAKg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AIpB,W,iCCtFrB,MAAMrF,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS7E,GAAQ,CAAC,YAAY,qBAE1E,U,gFCTf","file":"assets/js/chunk-57f2c62c.d8a5e85f.js","sourcesContent":["import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, renderSlot as _renderSlot, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-297f8a7c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex flex-nowrap justify-content-between align-items-center flex-grow-0\" }\nconst _hoisted_2 = {\n key: 1,\n class: \"d-flex flex-wrap justify-content-center align-items-center flex-grow-1\"\n}\nconst _hoisted_3 = [\"aria-label\"]\nconst _hoisted_4 = {\n key: 3,\n class: \"d-flex flex-nowrap justify-content-between align-items-center flex-grow-0\"\n}\nconst _hoisted_5 = {\n key: 1,\n style: {\"text-align\":\"center\"}\n}\nconst _hoisted_6 = {\n key: 2,\n class: \"table table-striped\"\n}\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = {\n style: {\"margin-left\":\"0.5rem\"},\n class: \"sort-column\"\n}\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = { class: \"\" }\nconst _hoisted_12 = [\"onClick\"]\nconst _hoisted_13 = { key: 0 }\nconst _hoisted_14 = [\"onClick\"]\nconst _hoisted_15 = { key: 1 }\nconst _hoisted_16 = {\n key: 3,\n class: \"d-flex flex-wrap\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Pagination = _resolveComponent(\"Pagination\")!\n const _component_Select = _resolveComponent(\"Select\")!\n const _component_TableInfo = _resolveComponent(\"TableInfo\")!\n const _component_LuSpinner = _resolveComponent(\"LuSpinner\")!\n const _component_font_awesome_icon = _resolveComponent(\"font-awesome-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.showPagination && _ctx.rowsHaveLoaded)\n ? (_openBlock(), _createBlock(_component_Pagination, {\n key: 0,\n class: \"mr-auto\",\n pagingData: _ctx.pagingData,\n shouldFocus: true,\n onPageNumberChanged: _ctx.onPageNumberChange\n }, null, 8, [\"pagingData\", \"onPageNumberChanged\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.pageHeading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", {\n class: \"page-heading\",\n \"aria-label\": _ctx.pageHeading\n }, _toDisplayString(_ctx.pageHeading), 9, _hoisted_3)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isLoading === false)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass({ 'mr-3 mb-1': _ctx.$slots.actions })\n }, [\n _renderSlot(_ctx.$slots, \"actions\", { class: \"pr-3\" }, undefined, true)\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.rowsHaveLoaded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_ctx.allowChangeRowPerPage)\n ? (_openBlock(), _createBlock(_component_Select, {\n key: 0,\n options: _ctx.pageSizeOptions,\n value: _ctx.pagingData.pageSize,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.pagingData.pageSize) = $event)),\n onChange: _ctx.onPageSizeChange\n }, null, 8, [\"options\", \"value\", \"onChange\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showNumRows)\n ? (_openBlock(), _createBlock(_component_TableInfo, {\n key: 1,\n class: \"ml-2\",\n pagingData: _ctx.pagingData\n }, null, 8, [\"pagingData\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.useSpinner && _ctx.isLoading && _ctx.showSpinner)\n ? (_openBlock(), _createBlock(_component_LuSpinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_ctx.rowsHaveLoaded === false && _ctx.isLoading === false)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString(_ctx.noDataText || _ctx.$t(\"table.noData\")), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.cols.length > 0)\n ? (_openBlock(), _createElementBlock(\"table\", _hoisted_6, [\n _createElementVNode(\"thead\", {\n class: _normalizeClass([\"thead-dark\", { 'sticky-head': _ctx.stickyHead }])\n }, [\n _createElementVNode(\"tr\", null, [\n (_ctx.$slots.rowActionStart)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_7))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cols, (col, colIndex) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n scope: \"col\",\n key: col,\n onClick: ($event: any) => (!_ctx.unsortableColumns.includes(col) && _ctx.sortTable(col)),\n style: _normalizeStyle({\n cursor:\n _ctx.allowSort && !_ctx.unsortableColumns.includes(col)\n ? 'pointer'\n : 'auto',\n width: colIndex === _ctx.cols.length - 1 ? _ctx.lastColWidth : _ctx.colWidth,\n }),\n class: _normalizeClass({\n 'sticky-col': _ctx.stickyFirstColumn && colIndex === 0,\n 'sort-column': _ctx.sortColumn === col,\n })\n }, [\n _renderSlot(_ctx.$slots, \"td\", { col: col }, () => [\n _createTextVNode(_toDisplayString(_ctx.capitalize(col)), 1)\n ], true),\n _createElementVNode(\"span\", _hoisted_9, [\n (_ctx.sortColumn === col && _ctx.ascending)\n ? (_openBlock(), _createBlock(_component_font_awesome_icon, {\n key: 0,\n icon: \"caret-up\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.sortColumn === col && !_ctx.ascending)\n ? (_openBlock(), _createBlock(_component_font_awesome_icon, {\n key: 1,\n icon: \"caret-down\"\n }))\n : _createCommentVNode(\"\", true)\n ])\n ], 14, _hoisted_8))\n }), 128)),\n (_ctx.$slots.rowActionEnd)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_10))\n : _createCommentVNode(\"\", true)\n ])\n ], 2),\n _createElementVNode(\"tbody\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getRows(), (row, rowIndex) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: row,\n onClick: ($event: any) => (_ctx.onRowClick(rowIndex, row))\n }, [\n (_ctx.$slots.rowActionStart)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_13, [\n _renderSlot(_ctx.$slots, \"rowActionStart\", { row: row }, undefined, true)\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cols, (col, colIndex) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: col,\n class: _normalizeClass({\n 'sticky-col': _ctx.stickyFirstColumn && colIndex === 0,\n }),\n onClick: ($event: any) => (_ctx.onCellClick(rowIndex, row, col))\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n row: row,\n col: col,\n val: row[col]\n }, () => [\n _createTextVNode(_toDisplayString(row[col]), 1)\n ], true)\n ], 10, _hoisted_14))\n }), 128)),\n (_ctx.$slots.rowActionEnd)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_15, [\n _renderSlot(_ctx.$slots, \"rowActionEnd\", { row: row }, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_12))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.rowsHaveLoaded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n (_ctx.showPagination)\n ? (_openBlock(), _createBlock(_component_Pagination, {\n key: 0,\n class: \"mr-auto\",\n pagingData: _ctx.pagingData,\n onPageNumberChanged: _ctx.onPageNumberChange\n }, null, 8, [\"pagingData\", \"onPageNumberChanged\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.allowChangeRowPerPage)\n ? (_openBlock(), _createBlock(_component_Select, {\n key: 1,\n options: _ctx.pageSizeOptions,\n value: _ctx.pagingData.pageSize,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.pagingData.pageSize) = $event)),\n onChange: _ctx.onPageSizeChange\n }, null, 8, [\"options\", \"value\", \"onChange\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showNumRows)\n ? (_openBlock(), _createBlock(_component_TableInfo, {\n key: 2,\n class: \"ml-2\",\n pagingData: _ctx.pagingData\n }, null, 8, [\"pagingData\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"span\", null, _toDisplayString(_ctx.$t(\"table.showingRowsOf\", { start: _ctx.start, end: _ctx.end, total: _ctx.pagingData.totalCount })), 1))\n}","\nimport { IPagingData } from \"@/interfaces/IPagingData\";\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\n\n@Options({\n props: {\n /**\n * Paging data such as the current page in the table, total number of pages, number of rows per page\n */\n pagingData: {\n type: Object as PropType,\n required: true,\n },\n },\n computed: {\n /**\n * Number of rows on the current page\n */\n rowsCurrentPage() {\n let rowsLeft = this.pagingData.totalCount - this.start + 1;\n return rowsLeft > this.pagingData.pageSize\n ? this.pagingData.pageSize\n : rowsLeft;\n },\n /**\n * The row number of the first row in the current page\n */\n start(): number {\n const start =\n this.pagingData.currentPage * this.pagingData.pageSize -\n this.pagingData.pageSize +\n 1;\n return start < 0 ? 0 : start;\n },\n /**\n * The row number of the last row in the current page\n */\n end(): number {\n return this.start + this.rowsCurrentPage - 1;\n },\n },\n})\nexport default class TableInfo extends Vue {}\n","import { render } from \"./TableInfo.vue?vue&type=template&id=bf07c94a&ts=true\"\nimport script from \"./TableInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./TableInfo.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 { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42bf6f98\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n \"aria-label\": \"Pagination\",\n class: \"m-0\"\n}\nconst _hoisted_2 = { class: \"pagination pagination-sm\" }\nconst _hoisted_3 = [\"aria-label\"]\nconst _hoisted_4 = { class: \"page-icon\" }\nconst _hoisted_5 = { class: \"page-label\" }\nconst _hoisted_6 = [\"aria-label\"]\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = [\"aria-label\"]\nconst _hoisted_9 = { class: \"page-label\" }\nconst _hoisted_10 = { class: \"page-icon\" }\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\", {\n ref: \"keydownElement\",\n tabindex: \"0\",\n onKeydown: _cache[2] || (_cache[2] = ($event: any) => (_ctx.handleKeydown($event))),\n class: \"pagination-container\"\n }, [\n _createElementVNode(\"nav\", _hoisted_1, [\n _createElementVNode(\"ul\", _hoisted_2, [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"page-item\", !_ctx.pagingData.hasPrevious ? 'disabled' : ''])\n }, [\n _createElementVNode(\"a\", {\n class: \"page-link\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (\n _ctx.pagingData.currentPage > 1\n ? _ctx.changePageNumber(_ctx.pagingData.currentPage - 1)\n : null\n )),\n \"aria-label\": _ctx.$t('pagination.goto-previous')\n }, [\n _createElementVNode(\"span\", _hoisted_4, [\n _createVNode(_component_font_awesome_icon, { icon: \"chevron-left\" })\n ]),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"pagination.previous\")), 1)\n ], 8, _hoisted_3)\n ], 2),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.pageNumbers, (pageNum, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: _normalizeClass([\"page-item\", pageNum === _ctx.pagingData.currentPage ? 'active' : '']),\n key: index,\n \"aria-label\": \n pageNum === _ctx.pagingData.currentPage\n ? _ctx.$t('pagination.current')\n : _ctx.$t('pagination.goto', { page: pageNum })\n \n }, [\n _createElementVNode(\"a\", {\n class: _normalizeClass(pageNum ? 'page-link' : 'page-text'),\n onClick: ($event: any) => (pageNum ? _ctx.changePageNumber(pageNum) : null)\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(pageNum), 1),\n (!pageNum)\n ? (_openBlock(), _createBlock(_component_font_awesome_icon, {\n key: 0,\n icon: \"ellipsis-h\"\n }))\n : _createCommentVNode(\"\", true)\n ], 10, _hoisted_7)\n ], 10, _hoisted_6))\n }), 128)),\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"page-item\", !_ctx.pagingData.hasNext ? 'disabled' : ''])\n }, [\n _createElementVNode(\"a\", {\n class: \"page-link\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (\n _ctx.pagingData.currentPage < _ctx.pagingData.totalPages\n ? _ctx.changePageNumber(_ctx.pagingData.currentPage + 1)\n : null\n )),\n \"aria-label\": _ctx.$t('pagination.goto-next')\n }, [\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(_ctx.$t(\"pagination.next\")), 1),\n _createElementVNode(\"span\", _hoisted_10, [\n _createVNode(_component_font_awesome_icon, { icon: \"chevron-right\" })\n ])\n ], 8, _hoisted_8)\n ], 2)\n ])\n ])\n ], 544))\n}","\nimport { PropType } from \"vue\";\nimport { Options, Vue } from \"vue-class-component\";\nimport { IPagingData } from \"@/interfaces/IPagingData\";\n\n@Options({\n props: {\n /**\n * Maximum number of visible page links\n */\n maxVisiblePages: {\n type: Number as PropType,\n required: false,\n default: 5,\n },\n /**\n * Paging data such as the current page in the table, total number of pages, number of rows per page\n */\n pagingData: {\n type: Object as PropType,\n required: true,\n },\n shouldFocus: {\n type: Boolean,\n default: false,\n },\n },\n methods: {\n /**\n * Gets called when the user changes page number\n */\n changePageNumber(pageNumber: number) {\n this.$emit(\"pageNumberChanged\", pageNumber);\n },\n handleKeydown(event: KeyboardEvent) {\n const key = event.key;\n const ctrl = event.ctrlKey;\n const pagingData = this.pagingData;\n\n if (ctrl) {\n switch (key) {\n case \"ArrowLeft\":\n // Go to previous page\n if (pagingData.currentPage > 1) {\n this.changePageNumber(pagingData.currentPage - 1);\n }\n break;\n case \"ArrowRight\":\n // Go to next page\n if (pagingData.currentPage < pagingData.totalPages) {\n this.changePageNumber(pagingData.currentPage + 1);\n }\n break;\n case \"ArrowUp\":\n // Go to last page\n if (pagingData.currentPage !== pagingData.totalPages) {\n this.changePageNumber(pagingData.totalPages);\n }\n break;\n case \"ArrowDown\":\n // Go to first page\n if (pagingData.currentPage > 1) {\n this.changePageNumber(1);\n }\n break;\n default:\n break;\n }\n }\n },\n },\n computed: {\n /**\n * Maximum number of visible page links in relation to total number of pages\n */\n maxVisiblePageLinks() {\n return this.pagingData.totalPages < this.maxVisiblePages\n ? this.pagingData.totalPages\n : this.maxVisiblePages;\n },\n /**\n * Start page number in relation to Maximum number of visible page links\n */\n startPageNumber() {\n if (\n this.pagingData.currentPage === 1 ||\n this.pagingData.totalPages === this.maxVisiblePageLinks\n ) {\n return 1;\n }\n\n let startPage;\n\n if (this.pagingData.currentPage === this.pagingData.totalPages) {\n startPage = this.pagingData.totalPages - this.maxVisiblePageLinks;\n }\n\n startPage = this.pagingData.currentPage - 1;\n\n return startPage < 1 ? 1 : startPage;\n },\n /**\n * Page numbers to display\n */\n pageNumbers(): Array {\n const pageNumbers = new Array();\n\n const totalPages = Math.min(\n this.startPageNumber + this.maxVisiblePageLinks - 1,\n this.pagingData.totalPages\n );\n\n for (let i = this.startPageNumber; i <= totalPages; i++) {\n pageNumbers.push(i);\n }\n\n return pageNumbers;\n },\n },\n mounted() {\n this.$nextTick(() => {\n if (this.shouldFocus) {\n this.$refs.keydownElement.focus();\n }\n });\n },\n})\nexport default class Pagination extends Vue {\n currentPage!: number;\n totalPages!: number;\n maxVisiblePages!: number;\n}\n","import { render } from \"./Pagination.vue?vue&type=template&id=42bf6f98&scoped=true&ts=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&lang=ts\"\n\nimport \"./Pagination.vue?vue&type=style&index=0&id=42bf6f98&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-42bf6f98\"]])\n\nexport default __exports__","\nimport { PropType } from \"@vue/runtime-core\";\nimport { Options, Vue } from \"vue-class-component\";\nimport LuSpinner from \"@/components/Lu/LuSpinner.vue\";\nimport TableInfo from \"@/components/TableInfo.vue\";\nimport Pagination from \"@/components/Pagination.vue\";\nimport Select from \"@/components/Form/Select.vue\";\nimport { IPagingData } from \"@/interfaces/IPagingData\";\n\n@Options({\n components: {\n Pagination,\n TableInfo,\n Select,\n LuSpinner,\n },\n props: {\n /**\n * Gets data of the rows\n */\n rows: {\n type: Array as PropType,\n required: true,\n },\n /**\n * If allow sort\n */\n allowSort: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n /**\n * The current sort column\n */\n sortColumn: {\n type: String as PropType,\n required: false,\n },\n /**\n * If the sort order is ascending\n */\n ascending: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n /**\n * If the first column always should be visible\n */\n stickyFirstColumn: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If the head always should be visible\n */\n stickyHead: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * A list of column names that should not be visible\n */\n hiddenColumns: {\n type: Array as PropType,\n required: false,\n default: [\"id\"],\n },\n /**\n * If the table should include a pagination\n */\n showPagination: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If the student should be able to change number of rows per page\n */\n allowChangeRowPerPage: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If the table should tell how many rows is showing and the total number of rows\n */\n showNumRows: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * Columns that should not be sortable\n */\n unsortableColumns: {\n type: Array as PropType,\n required: false,\n default: [],\n },\n /**\n * Paging data such as the current page in the table, total number of pages, number of rows per page\n */\n pagingData: {\n type: Object as PropType,\n required: false,\n },\n /**\n * A page heading to be displayed above the table\n */\n pageHeading: {\n type: String as PropType,\n required: false,\n },\n /**\n * Text to show when no data is populated\n */\n noDataText: {\n type: String as PropType,\n required: false,\n },\n /**\n * Whether or not to show a spinner when data is loading\n */ useSpinner: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * Steers when to show the loading spinner\n */ isLoading: {\n type: Boolean as PropType,\n required: false,\n default: true,\n },\n /**\n * Whether or not to override the default column width calculation\n * If this is set to true, the column width will be set to auto\n */\n overrideColWidthCalculation: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n },\n data: () => ({\n /**\n * The rows per page options\n */\n pageSizeOptions: [5, 10, 25, 50],\n /**\n * Used to delay the display of the spinner if being used\n */\n showSpinner: false,\n /**\n * The width of all columns except the last\n */\n colWidthForAll: 0,\n }),\n computed: {\n /**\n * Visible column names\n */\n cols(): string[] {\n if (!this.rows || this.rows.length < 1) {\n return [];\n }\n let cols: string[] = [];\n Object.getOwnPropertyNames(this.rows[0]).forEach((key) => {\n if (!this.hiddenColumns.includes(key)) {\n cols.push(key);\n }\n });\n return cols;\n },\n /**\n * The width in percentage of all columns except the last,\n * but will return auto if overrideColWidthCalculation is set to true\n */\n colWidth(): string {\n this.colWidthForAll = Math.round(100 / this.cols.length);\n return this.getColWidthString(this.colWidthForAll);\n },\n /**\n * The width in percentage of the last column,\n * but will return auto if overrideColWidthCalculation is set to true.\n * Because colWidth is rounded, lastColWidth takes up any slack so that the total width of all columns is 100\n */\n lastColWidth(): string {\n const colWidth =\n this.colWidthForAll + (100 - this.colWidthForAll * this.cols.length);\n return this.getColWidthString(colWidth);\n },\n /**\n * Whether rows of data have loaded\n */\n rowsHaveLoaded(): boolean {\n return this.rows.length > 0;\n },\n },\n methods: {\n /**\n * Delays display of the loading spinner for 500 milliseconds so as not to cause\n * jumps in the table display when sort column or direction, filter, etc changes.\n * It is called from the watch block\n */\n delaySpinnerDisplay(): void {\n if (this.useSpinner) {\n this.showSpinner = false;\n this.sleep(500).then(() => {\n this.showSpinner = true;\n });\n }\n },\n /**\n * Uses setTimeout to return a promise that can be used in the calling code to delay execution of the code\n *\n * @param {number} milliseconds The number of milliseconds to sleep for\n */\n sleep(milliseconds: number): Promise {\n return new Promise((resolve) => setTimeout(resolve, milliseconds));\n },\n /**\n * Capitalizes a string\n *\n * @param {string} str The string that should be capitalized\n * @returns {string} The capitalized string\n */\n capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n },\n /**\n * Sorts the table based on the given column name and ascending properties\n *\n * @param {string} columnName The column the sort should be based on\n */\n sortTable(columnName: string): void {\n if (this.allowSort) {\n let ascending = this.sortColumn === columnName ? !this.ascending : true;\n this.$emit(\"sortChanged\", columnName, ascending);\n }\n },\n /**\n * Gets the rows that should be shown on the current page\n */\n getRows(): Record[] {\n return this.rows;\n },\n /**\n * Gets called when the user clicks on a row\n * Emits a rowClick event with information about the row\n *\n * @param {number} rowIndex The index of the clicked row\n * @param {unknown} rowData The data of the clicked row\n */\n onRowClick(rowIndex: number, rowData: Array): void {\n this.$emit(\"rowClick\", { rowIndex, rowData });\n },\n /**\n * Gets called when the user clicks on a cell\n * Emits a cellClick event with information about the row and cell\n *\n * @param {number} rowIndex The row index of the clicked cell\n * @param {unknown} rowData The row data of the clicked cell\n * @param {string} cellName The name of the clicked cell\n */\n onCellClick(\n rowIndex: number,\n rowData: Array,\n cellName: string\n ): void {\n this.$emit(\"cellClick\", { rowIndex, rowData, cellName });\n },\n onPageNumberChange(pageNumber: number): void {\n this.$emit(\"pageNumberChanged\", pageNumber);\n },\n /**\n * Gets called when the user changes page size\n */\n onPageSizeChange(): void {\n this.$emit(\"pageSizeChanged\", this.pagingData.pageSize);\n },\n /**\n * Gets the width of a column based on the given column width and the overrideColWidthCalculation property\n */\n getColWidthString(colWidth: number): string {\n return this.overrideColWidthCalculation ? \"auto\" : `${colWidth}%`;\n },\n },\n watch: {\n /**\n * Gets called when page changes\n *\n * @param {number} page The new page number\n */\n currentPage(page: number): void {\n this.$emit(\"pageChange\", page);\n },\n /**\n * Gets called when filters or sort column name or ascending changes\n */\n rows() {\n this.delaySpinnerDisplay();\n },\n sortColumn() {\n this.delaySpinnerDisplay();\n },\n ascending() {\n this.delaySpinnerDisplay();\n },\n },\n mounted() {\n this.delaySpinnerDisplay();\n },\n})\nexport default class Table extends Vue {}\n","import { render } from \"./Table.vue?vue&type=template&id=297f8a7c&scoped=true&ts=true\"\nimport script from \"./Table.vue?vue&type=script&lang=ts\"\nexport * from \"./Table.vue?vue&type=script&lang=ts\"\n\nimport \"./Table.vue?vue&type=style&index=0&id=297f8a7c&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-297f8a7c\"]])\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!./Select.vue?vue&type=style&index=0&id=993c70b2&scoped=true&lang=css\"","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: getOwnPropertyNames\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!./Pagination.vue?vue&type=style&index=0&id=42bf6f98&scoped=true&lang=css\"","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, renderSlot as _renderSlot, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-993c70b2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-group\" }\nconst _hoisted_2 = { class: \"w-100\" }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = [\"disabled\", \"required\", \"value\", \"aria-label\"]\nconst _hoisted_5 = [\"selected\"]\nconst _hoisted_6 = [\"value\", \"selected\"]\nconst _hoisted_7 = {\n key: 0,\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(\"label\", _hoisted_2, [\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.label), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"select\", {\n class: \"form-control custom-select\",\n disabled: _ctx.disabled,\n required: _ctx.required,\n value: _ctx.value,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.updateValue($event.target.value))),\n \"aria-label\": _ctx.label ? _ctx.label : '',\n ref: \"input\",\n onInvalid: _cache[1] || (_cache[1] = ($event: any) => (_ctx.validityMessage ? _ctx.setValidityMessage(_ctx.validityMessage) : null))\n }, [\n (_ctx.placeholder)\n ? (_openBlock(), _createElementBlock(\"option\", {\n key: 0,\n value: \"\",\n disabled: \"\",\n selected: !_ctx.options.includes(_ctx.value)\n }, _toDisplayString(_ctx.placeholder), 9, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: option,\n value: option,\n selected: option === _ctx.value\n }, [\n _renderSlot(_ctx.$slots, \"default\", { value: option }, () => [\n _createTextVNode(_toDisplayString(option), 1)\n ], true)\n ], 8, _hoisted_6))\n }), 128))\n ], 40, _hoisted_4)\n ]),\n (_ctx.helpText)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _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 select options\n */\n options: {\n type: Array as PropType,\n required: true,\n },\n /**\n * The current value\n */\n value: {\n type: [String, Number] as PropType,\n required: false,\n },\n /**\n * The label for the select input\n */\n label: {\n type: String as PropType,\n required: false,\n },\n /**\n * The placeholder for the select input\n */\n placeholder: {\n type: String as PropType,\n required: false,\n },\n /**\n * The help text for the select input\n */\n helpText: {\n type: String as PropType,\n required: false,\n },\n /**\n * If the select input is disabled\n */\n disabled: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /**\n * If the value should be returned as a number\n */\n isNumber: {\n type: Boolean as PropType,\n required: false,\n default: 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 methods: {\n /**\n * Gets called when the user selects a option\n *\n * @param {string} value The selected value\n */\n updateValue(value: string): void {\n this.setValidityMessage(\"\");\n this.$emit(\"update:value\", this.isNumber ? parseInt(value) : value);\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 Select extends Vue {}\n","import { render } from \"./Select.vue?vue&type=template&id=993c70b2&scoped=true&ts=true\"\nimport script from \"./Select.vue?vue&type=script&lang=ts\"\nexport * from \"./Select.vue?vue&type=script&lang=ts\"\n\nimport \"./Select.vue?vue&type=style&index=0&id=993c70b2&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-993c70b2\"]])\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!./Table.vue?vue&type=style&index=0&id=297f8a7c&scoped=true&lang=css\""],"sourceRoot":""}