{"version":3,"sources":["webpack:///./src/views/goals/components/ConditionDisplay.vue?6eb7","webpack:///./src/views/goals/components/ConditionDisplay.vue","webpack:///./src/views/goals/components/ConditionDisplay.vue?c258","webpack:///./src/views/goals/components/ConditionDisplay.vue?9fce","webpack:///./src/views/seminars/components/GoalElement.vue?794d","webpack:///./src/views/seminars/components/GoalElement.vue","webpack:///./src/views/seminars/components/GoalElement.vue?f5fc","webpack:///./src/views/seminars/components/GoalElement.vue?df52","webpack:///./src/views/seminars/components/SubmissionFooter.vue?5218","webpack:///./src/views/seminars/components/SubmissionFooter.vue","webpack:///./src/views/seminars/components/SubmissionFooter.vue?bb34","webpack:///./src/views/seminars/components/SubmissionFooter.vue?6832"],"names":["render","_vm","this","_h","$createElement","_c","_self","VList","staticStyle","_v","_s","value","staticRenderFns","ConditionDisplay","condition","type","ConditionType","DueDate","val","d","DateTime","fromISO","now","fromMillis","Date","$t","toString","rel","setLocale","$i18n","locale","toRelative","includes","split","msgstr","SessionScore","n","FillerWords","SpeechClarity","OverallScore","Repetition","SpeechSpeed","n1","n2","Sentiment","Pitch","Volume","Pauses","Vue","__decorate","Prop","default","Component","component","element","target","staticClass","progress","_e","_l","cond","i","key","attrs","isAssignedToUser","VBtn","assigning","on","assignToGoal","VSpacer","refreshing","refresh","VIcon","GoalElement","console","debug","assignToGoalAction","goalId","setAssignedToGoalAction","makeCall","refreshGoalElement","window","addEventListener","removeEventListener","Getter","Action","components","SubmissionFooter","class","marginTop","user","submission","userId","_f","createdAt","id","one","users","find","x","username","email"],"mappings":"2KAEIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAGE,EAAA,KAAkB,CAAEN,EAAa,UAAEI,EAAG,OAAO,CAACG,YAAY,CAAC,cAAc,QAAQ,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,UAAUN,EAAG,OAAO,CAACJ,EAAIQ,GAAGR,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4F,GAAG,iBAAP5F,CAAyBA,EAAI0F,WAAWG,kBACzalF,EAAkB,G,gICmBD2E,EAAgB,2HAQlC,OARkC,oCAInC,SAAKQ,GACH,IAAMC,EAAM9F,KAAK+F,MAAMC,MAAK,SAAAC,GAAC,OAAIA,EAAEJ,KAAOA,KAC1C,OAAKC,EACE,GAAP,OAAUA,EAAII,SAAQ,aAAKJ,EAAIK,MAAK,KADnB,UAElB,EARkC,CAASrD,cAChBC,gBAA3BmC,eAAO,qBAAmB,8BACDnC,gBAAzBmC,eAAO,mBAAiB,4BAQWnC,gBAAnCC,eAAK,CAAEC,QAAS,gBAAkB,iCACJF,gBAA9BC,eAAK,CAAEC,QAAS,kBAAM,MAAO,gCAXXoC,EAAgB,gBADpCnC,QACoBmC,WCpB0Z,I,YCO3alC,EAAY,eACd,EACArD,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAyC,E","file":"assets/js/chunk-2f38cc30.87b518d2.js","sourcesContent":["import { VListItemSubtitle } from 'vuetify/lib/components/VList';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VListItemSubtitle,[(_vm.isDueDate)?_c('span',{staticStyle:{\"font-weight\":\"600\"}},[_vm._v(_vm._s(_vm.value))]):_c('span',[_vm._v(_vm._s(_vm.value))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { DateTime } from \"luxon\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport { Condition, ConditionType } from \"@/core/models\";\r\n\r\n@Component\r\nexport default class ConditionDisplay extends Vue {\r\n @Prop({ default: () => {} }) condition!: Condition;\r\n\r\n get isDueDate() {\r\n return this.condition.type === ConditionType.DueDate;\r\n }\r\n get value() {\r\n let val = this.condition.value;\r\n const type = this.condition.type;\r\n if (type === ConditionType.DueDate) {\r\n const d = DateTime.fromISO(val);\r\n const now = DateTime.fromMillis(Date.now());\r\n if (d < now) return this.$t(\"goals.condmsg.overdue\").toString();\r\n const rel = d.setLocale(this.$i18n.locale).toRelative();\r\n return `${this.$t(\"goals.condmsg.duein\")} ${rel}`;\r\n }\r\n\r\n if (typeof val === \"string\" && val.includes(\";\")) val = val.split(\";\");\r\n\r\n const msgstr = `goals.condmsg.${type}`;\r\n switch (type) {\r\n case ConditionType.SessionScore:\r\n return this.$t(msgstr, { n: val });\r\n case ConditionType.FillerWords:\r\n return this.$t(msgstr, { n: val });\r\n case ConditionType.SpeechClarity:\r\n return this.$t(msgstr, { n: val });\r\n case ConditionType.OverallScore:\r\n return this.$t(msgstr, { n: val });\r\n case ConditionType.Repetition:\r\n return this.$t(msgstr, { n: val });\r\n case ConditionType.SpeechSpeed:\r\n return this.$t(msgstr, { n1: val[0], n2: val[1] });\r\n case ConditionType.Sentiment:\r\n return this.$t(msgstr, { n1: val[0], n2: val[1] });\r\n case ConditionType.Pitch:\r\n return this.$t(msgstr, { n1: val[0], n2: val[1] });\r\n case ConditionType.Volume:\r\n return this.$t(msgstr, { n1: val[0], n2: val[1] });\r\n case ConditionType.Pauses:\r\n return this.$t(msgstr, { n1: val[0], n2: val[1] });\r\n\r\n default:\r\n return \"\";\r\n }\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!./ConditionDisplay.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!./ConditionDisplay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConditionDisplay.vue?vue&type=template&id=15e84086&\"\nimport script from \"./ConditionDisplay.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConditionDisplay.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('b',[_vm._v(_vm._s(_vm.$t(\"seminars.goal.target\"))+\": \")]),_c('u',[_vm._v(_vm._s(_vm.element.target))])]),(_vm.element.isAssignedToUser)?_c('div',{staticClass:\"mb-4\"},[_c('b',[_vm._v(_vm._s(_vm.$t(\"seminars.goal.progress\"))+\": \")]),_c('u',[_vm._v(_vm._s(_vm.element.progress))])]):_vm._e(),_vm._l((_vm.element.conditions),function(cond,i){return _c('div',{key:i,staticClass:\"mt-2\"},[_c('ConditionDisplay',{attrs:{\"condition\":cond}})],1)}),(!_vm.element.isAssignedToUser)?_c('div',{staticClass:\"mt-4\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.goal.title\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"seminars.goal.description\")))]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"loading\":_vm.assigning,\"disabled\":_vm.assigning},on:{\"click\":_vm.assignToGoal}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.goal.assign\")))])])],1):_vm._e(),_c('div',{staticClass:\"d-flex\"},[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\",\"loading\":_vm.refreshing,\"disabled\":_vm.refreshing},on:{\"click\":function () { return _vm.refresh(true); }}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.vr_training.refresh\")))]),_c(VIcon,{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-refresh\")])],1)],1)],2)}\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\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport { GetSubsRequest, Goal, Seminar, SeminarElement } from \"@/core/models\";\r\n\r\nimport ConditionDisplay from \"@/views/goals/components/ConditionDisplay.vue\";\r\nimport SubmissionFooter from \"./SubmissionFooter.vue\";\r\n\r\n@Component({ components: { SubmissionFooter, ConditionDisplay } })\r\nexport default class GoalElement extends Vue {\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n @Prop({ default: () => undefined }) element?: SeminarElement;\r\n\r\n @Getter(\"goals/getAssignedGoals\") goals!: Goal[];\r\n @Action(\"goals/assignToGoal\")\r\n assignToGoalAction!: (id: number) => Promise;\r\n\r\n @Action(\"seminars/getSubmissions\")\r\n getSubmissions!: (r: GetSubsRequest) => Promise;\r\n @Action(\"seminars/refreshGoalElement\")\r\n refreshGoalElement!: (d: {\r\n element: SeminarElement;\r\n makeCall: boolean;\r\n }) => Promise;\r\n @Action(\"seminars/setAssignedToGoal\")\r\n setAssignedToGoalAction!: (e: SeminarElement) => Promise;\r\n\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n // tood show skipped submission\r\n\r\n assigning = false;\r\n async assignToGoal() {\r\n if (this.element?.type !== \"goal\") return;\r\n\r\n console.debug(\"[goals] element\", this.element);\r\n this.assigning = true;\r\n await this.assignToGoalAction(this.element.goalId);\r\n await this.setAssignedToGoalAction(this.element);\r\n this.assigning = false;\r\n }\r\n\r\n refreshing = false;\r\n async refresh(makeCall = false) {\r\n if (!this.element) return;\r\n\r\n this.refreshing = await this.refreshGoalElement({\r\n element: this.element,\r\n makeCall,\r\n });\r\n\r\n if (makeCall)\r\n window.addEventListener(\"got-goals\", () => this.refresh(false));\r\n }\r\n\r\n beforeDestroy() {\r\n window.removeEventListener(\"got-goals\", () => this.refresh(false));\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!./GoalElement.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!./GoalElement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoalElement.vue?vue&type=template&id=1a5600b0&\"\nimport script from \"./GoalElement.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoalElement.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-right text-body-2\",class:{ 'mt-4': _vm.marginTop ? true : false }},[(_vm.isOwner)?_c('div',[_vm._v(\" Submitted by: \"),_c('b',[_vm._v(_vm._s(_vm.user(_vm.submission.userId)))])]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submittedOn\"))+\": \"),_c('b',[_vm._v(_vm._s(_vm._f(\"formatwithtime\")(_vm.submission.createdAt)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\nimport { SimpleUser, Submission } from \"@/core/models\";\r\n\r\n@Component\r\nexport default class SubmissionFooter extends Vue {\r\n @Getter(\"seminars/isOwner\") isOwner!: boolean;\r\n @Getter(\"seminars/users\") users!: SimpleUser[];\r\n\r\n user(id: string) {\r\n const one = this.users.find(x => x.id === id);\r\n if (!one) return \"You\";\r\n return `${one.username} (${one.email})`;\r\n }\r\n\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n @Prop({ default: () => true }) marginTop?: boolean;\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!./SubmissionFooter.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!./SubmissionFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubmissionFooter.vue?vue&type=template&id=70f11129&\"\nimport script from \"./SubmissionFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubmissionFooter.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}