{"version":3,"sources":["webpack:///../../../src/components/VGrid/VRow.ts","webpack:///../../../src/components/VGrid/VCol.ts","webpack:///./src/views/seminars/components/SeminarScores.vue?3ce8","webpack:///./src/views/seminars/components/SeminarScores.vue?d56f","webpack:///./src/views/seminars/components/SeminarScores.vue","webpack:///./src/views/seminars/components/SeminarScores.vue?923c","webpack:///./src/views/seminars/components/SeminarScores.vue?0620"],"names":["breakpoints","ALIGNMENT","makeProps","prefix","def","reduce","props","val","upperFirst","alignValidator","str","includes","alignProps","type","String","default","validator","justifyValidator","justifyProps","alignContentValidator","alignContentProps","propMap","align","Object","keys","justify","alignContent","classMap","breakpointClass","prop","className","breakpoint","replace","toLowerCase","cache","Map","Vue","extend","name","functional","tag","dense","Boolean","noGutters","render","h","data","children","cacheKey","classList","get","forEach","value","push","set","mergeData","staticClass","class","breakpointProps","Number","offsetProps","orderProps","col","offset","order","cols","alignSelf","parent","hasColClasses","some","startsWith","_vm","this","_h","$createElement","_c","_self","VCard","attrs","_v","_s","$t","VBtn","on","getScores","VIcon","elements","length","VRow","_l","el","VCol","key","id","s","i","staticStyle","username","score","scores","VDivider","_e","me","index","staticRenderFns","SeminarScores","gettingScores","selected","api","res","console","log","displaySnackbar","__decorate","Getter","Action","Watch","immediate","Component","component"],"mappings":"sTAOMA,EAAc,CAAC,KAAM,KAAM,KAAM,MAEjCC,EAAY,CAAC,QAAS,MAAO,UAEnC,SAASC,EAAWC,EAAgBC,GAClC,OAAOJ,EAAYK,QAAO,SAACC,EAAOC,GAEhC,OADAD,EAAMH,EAASK,eAAWD,IAAQH,IAC3BE,IACN,IAGL,IAAMG,EAAkB,SAAAC,GAAD,MAAc,UAAIT,EAAJ,CAAe,WAAY,YAAWU,SAASD,IAC9EE,EAAaV,EAAU,SAAS,iBAAO,CAC3CW,KAAMC,OACNC,QAAS,KACTC,UAAWP,MAGPQ,EAAoB,SAAAP,GAAD,MAAc,UAAIT,EAAJ,CAAe,gBAAiB,iBAAgBU,SAASD,IAC1FQ,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AAI,IACz/DuB,EAAkB,G,oICgFDC,EAAa,wDAAlC,mBAOuB,OAPvB,uB,0BAME,EAAAC,eAAgB,EAChB,EAAApB,SAAkB,GAAG,EAmBpB,OACF,gGAnBC,wGAC8B,GAAtBO,EAAkB,QAAhB,EAAGrB,KAAKmC,gBAAQ,aAAb,EAAed,GACrBA,EAAI,CAAF,gDAEmB,OAA1BrB,KAAKkC,eAAgB,EAAK,kBAELE,OAAI1D,IAAI,uBAAD,OAAwB2C,IAAK,OAAjDgB,EAAM,EAAH,MACO,QAAZ,EAAAA,EAAIvB,gBAAQ,aAAZ,EAAcC,QAAS,IAAGf,KAAKc,SAAWuB,EAAIvB,UAAS,qDAE3DwB,QAAQC,IAAI,EAAD,IACXvC,KAAKwC,gBAAgB,0BAA0B,QAEjDxC,KAAKkC,eAAgB,EAAM,0DAC5B,qDAMF,IANE,4BAGD,WACElC,KAAKY,gBACN,EA1B+B,CAAShD,cACZ6E,gBAA5BC,eAAO,sBAAoB,+BACFD,gBAAzBC,eAAO,mBAAiB,4BACHD,gBAArBC,eAAO,eAAa,6BACMD,gBAA1BE,eAAO,oBAAkB,sCAoB1BF,gBADCG,eAAM,WAAY,CAAEC,WAAW,KAAO,mCAvBpBZ,EAAa,gBADjCa,QACoBb,WC1FuZ,I,wBCQxac,EAAY,eACd,EACA3E,EACA4D,GACA,EACA,KACA,WACA,MAIa,aAAAe,E","file":"assets/js/chunk-f18b7976.aa068c71.js","sourcesContent":["import './VGrid.sass'\n\nimport Vue, { PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst ALIGNMENT = ['start', 'end', 'center']\n\nfunction makeProps (prefix: string, def: () => PropOptions) {\n return breakpoints.reduce((props, val) => {\n props[prefix + upperFirst(val)] = def()\n return props\n }, {} as Dictionary)\n}\n\nconst alignValidator = (str: any) => [...ALIGNMENT, 'baseline', 'stretch'].includes(str)\nconst alignProps = makeProps('align', () => ({\n type: String,\n default: null,\n validator: alignValidator,\n}))\n\nconst justifyValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around'].includes(str)\nconst justifyProps = makeProps('justify', () => ({\n type: String,\n default: null,\n validator: justifyValidator,\n}))\n\nconst alignContentValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around', 'stretch'].includes(str)\nconst alignContentProps = makeProps('alignContent', () => ({\n type: String,\n default: null,\n validator: alignContentValidator,\n}))\n\nconst propMap = {\n align: Object.keys(alignProps),\n justify: Object.keys(justifyProps),\n alignContent: Object.keys(alignContentProps),\n}\n\nconst classMap = {\n align: 'align',\n justify: 'justify',\n alignContent: 'align-content',\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: string) {\n let className = classMap[type]\n if (val == null) {\n return undefined\n }\n if (prop) {\n // alignSm -> Sm\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // .align-items-sm-center\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-row',\n functional: true,\n props: {\n tag: {\n type: String,\n default: 'div',\n },\n dense: Boolean,\n noGutters: Boolean,\n align: {\n type: String,\n default: null,\n validator: alignValidator,\n },\n ...alignProps,\n justify: {\n type: String,\n default: null,\n validator: justifyValidator,\n },\n ...justifyProps,\n alignContent: {\n type: String,\n default: null,\n validator: alignContentValidator,\n },\n ...alignContentProps,\n },\n render (h, { props, data, children }) {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `align`, `justify`, `alignContent` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n classList.push({\n 'no-gutters': props.noGutters,\n 'row--dense': props.dense,\n [`align-${props.align}`]: props.align,\n [`justify-${props.justify}`]: props.justify,\n [`align-content-${props.alignContent}`]: props.alignContent,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'row',\n class: classList,\n }),\n children\n )\n },\n})\n","import './VGrid.sass'\n\nimport Vue, { VNode, PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-col',\n functional: true,\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String,\n default: null,\n validator: (str: any) => ['auto', 'start', 'end', 'center', 'baseline', 'stretch'].includes(str),\n },\n tag: {\n type: String,\n default: 'div',\n },\n },\n render (h, { props, data, children, parent }): VNode {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('col-'))\n\n classList.push({\n // Default to .col if no other col-{bp}-* classes generated nor `cols` specified.\n col: !hasColClasses || !props.cols,\n [`col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(props.tag, mergeData(data, { class: classList }), children)\n },\n})\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SeminarScores.vue?vue&type=style&index=0&id=e99d1616&prod&lang=scss&scoped=true&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,{staticClass:\"mt-4\",attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_c('div',{staticClass:\"flex-1 mr-4 font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.vrScores.title\"))+\" \")]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.getScores}},[_c(VIcon,[_vm._v(\"mdi-refresh\")])],1)],1),_c(VCardText,{attrs:{\"data-automation-id\":\"session-scores-elements\"}},[(_vm.elements.length > 0)?_c(VRow,_vm._l((_vm.elements),function(el){return _c(VCol,{key:el.id,attrs:{\"cols\":\"12\",\"md\":\"4\",\"data-automation-id\":(\"session-scores-element-id-\" + (el.id))}},[_c('h3',{attrs:{\"data-automation-id\":\"session-scores-element-name\"}},[_vm._v(\" \"+_vm._s(el.name)+\" \")]),_c('div',{staticClass:\"list-wrapper\"},_vm._l((el.scores),function(s,i){return _c('div',{key:i,staticClass:\"item\",attrs:{\"data-automation-id\":\"session-scores-score-item\",\"data-index\":i}},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1 mr-4 d-flex\"},[_c('div',{staticClass:\"mx-2\",staticStyle:{\"min-width\":\"20px\"}},[_vm._v(_vm._s(i + 1))]),_c('b',{attrs:{\"data-automation-id\":(\"session-scores-score-item-username-\" + i)}},[_vm._v(\" \"+_vm._s(s.username)+\" \")])]),_c('div',[_c('b',{attrs:{\"data-automation-id\":(\"session-scores-score-item-score-\" + i)}},[_vm._v(\" \"+_vm._s(s.score)+\" \")])])]),(i !== el.scores.length - 1)?_c(VDivider,{staticClass:\"mt-2\"}):_vm._e()],1)}),0),(el.me.index !== -1)?_c('div',{staticClass:\"my-score\",attrs:{\"data-automation-id\":\"session-scores-my-score-item\"}},[_c('div',{staticClass:\"flex-1 d-flex mr-4\"},[_c('div',{staticClass:\"mx-2\",staticStyle:{\"min-width\":\"20px\"},attrs:{\"data-automation-id\":\"session-scores-my-pos\"}},[_vm._v(\" \"+_vm._s(el.me.index + 1)+\" \")]),_c('b',{attrs:{\"data-automation-id\":\"session-scores-my-username\"}},[_vm._v(_vm._s(el.me.username))])]),_c('div',[_c('b',{attrs:{\"data-automation-id\":\"session-scores-my-score\"}},[_vm._v(_vm._s(el.me.score))])])]):_vm._e()])}),1):_c(VRow,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.vrScores.noVr\"))+\" \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Watch } from \"vue-property-decorator\";\r\nimport { Seminar, SimpleUser } from \"@/core/models\";\r\nimport api from \"@/core/utils/api\";\r\n\r\n@Component\r\nexport default class SeminarScores extends Vue {\r\n @Getter(\"seminars/selected\") selected?: Seminar;\r\n @Getter(\"seminars/users\") users?: SimpleUser[];\r\n @Getter(\"profile/id\") userId!: string;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n gettingScores = false;\r\n elements: any[] = [];\r\n async getScores() {\r\n const id = this.selected?.id;\r\n if (!id) return;\r\n\r\n this.gettingScores = true;\r\n try {\r\n const res = (await api.get(`/api/Seminar/Scores/${id}`)) as any;\r\n if (res.elements?.length > 0) this.elements = res.elements;\r\n } catch (error) {\r\n console.log(error);\r\n this.displaySnackbar(\"Could not fetch scores\");\r\n }\r\n this.gettingScores = false;\r\n }\r\n\r\n @Watch(\"selected\", { immediate: true })\r\n seminarChanged() {\r\n this.getScores();\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SeminarScores.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SeminarScores.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SeminarScores.vue?vue&type=template&id=e99d1616&scoped=true&\"\nimport script from \"./SeminarScores.vue?vue&type=script&lang=ts&\"\nexport * from \"./SeminarScores.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SeminarScores.vue?vue&type=style&index=0&id=e99d1616&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e99d1616\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}