{"version":3,"sources":["webpack:///./src/views/sessions/components/EditSharedWith.vue?4339","webpack:///./src/views/sessions/components/EditSharedWith.vue","webpack:///./src/views/sessions/components/EditSharedWith.vue?baf1","webpack:///./src/views/sessions/components/EditSharedWith.vue?9859","webpack:///./src/views/sessions/components/SharedWithItem.vue?02ea","webpack:///./src/views/sessions/components/SharedWithItem.vue","webpack:///./src/views/sessions/components/SharedWithItem.vue?2a4a","webpack:///./src/views/sessions/components/SharedWithItem.vue?c194","webpack:///./src/views/sessions/components/SharedWithUserItem.vue?07d6","webpack:///./src/views/sessions/components/SharedWithUserItem.vue","webpack:///./src/views/sessions/components/SharedWithUserItem.vue?c032","webpack:///./src/views/sessions/components/SharedWithUserItem.vue?2392","webpack:///./src/components/sessions/DeleteSession.vue?1e15","webpack:///./src/components/sessions/DeleteSession.vue","webpack:///./src/components/sessions/DeleteSession.vue?c632","webpack:///./src/components/sessions/DeleteSession.vue?6490"],"names":["render","_vm","this","_h","$createElement","_c","_self","groups","length","VList","staticClass","attrs","_l","group","i","key","users","on","$event","_v","_s","$t","hangingUsers","u","VSpacer","VBtn","staticStyle","toRemove","removeLoading","toggleRemoveOne","VIcon","VDialog","model","value","callback","$$v","removeOneDialog","expression","VCard","removeAllHanging","scopedSlots","_u","fn","ref","_g","removeAllDialog","_e","staticRenderFns","EditSharedWith","session","SharedWith","filter","x","usersManaged","includes","mappedGroups","allGroups","map","Users","Email","currentUserEmail","user","name","Username","email","isManager","IsManager","Name","g","removeFromShared","id","ID","sharedWith","retrieved","getGroups","Vue","__decorate","Prop","default","PropSync","type","Array","Getter","Action","Component","components","SharedWithItem","component","VListGroup","VListItem","VListItemAction","VCheckbox","indeterminate","allSelected","val","toggleAll","checked","VListItemIcon","proxy","VListItemGroup","emails","Set","every","some","someSelected","Watch","immediate","SharedWithUserItem","toggleUser","isIncluded","idx","findIndex","splice","push","DeleteSession","loading","confirmDeleteDialog","VDivider","stopPropagation","confirmDelete","SessionDetails","canDelete","deleteSession","$emit"],"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J,EAAIkB,GAAGlB,EAAImB,GAAGnB,EAAIoB,GAAG,oDAAoD,IAAI,IAAI,IAC/uC0B,EAAkB,G,wHC2CDyE,EAAc,wDAAnC,mBAO8B,OAP9B,uB,0BAME,EAAAL,SAAU,EACV,EAAAC,qBAAsB,EAAM,EAQ3B,OACF,oGARC,+FACOlH,KAAKuH,UAAW,CAAF,gDACC,OAApBvH,KAAKiH,SAAU,EAAK,SACdjH,KAAKwH,cAAcxH,KAAKoE,IAAG,OACjCpE,KAAKkH,qBAAsB,EAC3BlH,KAAKyH,MAAM,WACXzH,KAAKiH,SAAU,EAAM,gDACtB,qDACF,MADE,EAfgC,CAASxC,cACdC,gBAA3BC,eAAK,CAAEC,QAAS,kBAAM,MAAI,yBACKF,gBAA/BC,eAAK,CAAEC,QAAS,kBAAM,MAAQ,gCAE/BF,gBADCO,eAAO,2BAAyB,oCAHdqC,EAAc,gBADlCpC,QACoBoC,WCxDqY,I,YCOtZjC,EAAY,eACd,EACAvF,EACA+C,GACA,EACA,KACA,KACA,MAIa,OAAAwC,E","file":"assets/js/chunk-3a2dcbd4.a50a5a8a.js","sourcesContent":["import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\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',[(_vm.groups.length > 0)?_c(VList,{staticClass:\"mt-2\",attrs:{\"expand\":\"\"}},_vm._l((_vm.groups),function(group,i){return _c('SharedWithItem',{key:(\"group-\" + i),attrs:{\"group\":group,\"selected\":_vm.users},on:{\"update:selected\":function($event){_vm.users=$event}}})}),1):_c('div',{staticClass:\"px-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"sess.noOneToShareWith\"))+\" \")]),(_vm.hangingUsers.length > 0)?_c('div',{staticClass:\"mt-4\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"sess.hanging.title\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"sess.hanging.text\")))]),_c('div',{staticClass:\"px-4\"},[_vm._l((_vm.hangingUsers),function(u,i){return _c('div',{key:i,staticClass:\"d-flex flex-1 align-center\"},[_c('div',{staticClass:\"main--text font-weight-bold\"},[_vm._v(_vm._s(u))]),_c(VSpacer),_c(VBtn,{staticStyle:{\"border-radius\":\"5px\"},attrs:{\"tile\":\"\",\"icon\":\"\",\"color\":\"prezpRed\",\"loading\":_vm.toRemove === u && _vm.removeLoading,\"disabled\":_vm.toRemove === u && _vm.removeLoading},on:{\"click\":function($event){return _vm.toggleRemoveOne(u)}}},[_c(VIcon,[_vm._v(\"mdi-delete\")])],1)],1)}),_c(VDialog,{attrs:{\"max-width\":\"300px\"},model:{value:(_vm.removeOneDialog),callback:function ($$v) {_vm.removeOneDialog=$$v},expression:\"removeOneDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"sess.hanging.removeOneDialogTitle\", { u: _vm.toRemove }))+\" \")]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"sess.hanging.removeOneDialogText\", { u: _vm.toRemove }))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\"},on:{\"click\":_vm.toggleRemoveOne}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.removeAllHanging}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1)],2),_c('div',{staticClass:\"d-flex mt-2\"},[_c(VSpacer),_c(VDialog,{attrs:{\"max-width\":\"300px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"text\":\"\",\"color\":\"prezpRed\",\"loading\":_vm.removeLoading,\"disabled\":_vm.removeLoading}},on),[_c('span',[_vm._v(_vm._s(_vm.$t(\"sess.hanging.removeAllButton\")))])])]}}],null,false,2163577797),model:{value:(_vm.removeAllDialog),callback:function ($$v) {_vm.removeAllDialog=$$v},expression:\"removeAllDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"sess.hanging.removeAllDialogTitle\"))+\" \")]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"sess.hanging.removeAllDialogText\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.removeAllDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.removeAllHanging}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1)],1)]):_vm._e(),(_vm.hangingUsers.length > 0)?_c('div',{staticClass:\"d-flex align-center mt-4\"},[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"sess.clear.title\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"sess.clear.text\")))])]),_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"disabled\":_vm.users.length === 0},on:{\"click\":function($event){_vm.users = []}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"global.clear\"))+\" \")])],1):_vm._e()],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\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, PropSync } from \"vue-property-decorator\";\r\n\r\nimport {\r\n FilterGroup,\r\n FilterUser,\r\n Group,\r\n RemoveFromShared,\r\n Session,\r\n} from \"@/core/models\";\r\nimport SharedWithItem from \"./SharedWithItem.vue\";\r\n\r\n@Component({ components: { SharedWithItem } })\r\nexport default class EditSharedWith extends Vue {\r\n @Prop({ default: () => ({} as Session) }) session!: Session;\r\n @PropSync(\"usersProp\", { type: Array }) users!: string[];\r\n\r\n @Getter(\"groups/loadingGroups\") loading!: boolean;\r\n @Getter(\"groups/retrievedGroups\") retrieved!: boolean;\r\n @Getter(\"groups/getGroups\") allGroups!: Group[];\r\n @Getter(\"groups/usersManaged\") usersManaged!: string[];\r\n @Getter(\"profile/getUserEmail\") currentUserEmail!: string;\r\n\r\n @Action(\"groups/getGroups\") getGroups!: () => Promise;\r\n @Action(\"sessions/removeFromShared\")\r\n removeFromShared!: (data: RemoveFromShared) => Promise;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n get hangingUsers() {\r\n return this.session.SharedWith.filter(x => !this.usersManaged.includes(x));\r\n }\r\n\r\n get groups() {\r\n const mappedGroups = this.allGroups.map(group => {\r\n const users = group.Users.filter(\r\n x => x.Email !== this.currentUserEmail,\r\n ).map(\r\n user =>\r\n ({\r\n name: user.Username,\r\n email: user.Email,\r\n isManager: user.IsManager,\r\n } as FilterUser),\r\n );\r\n return {\r\n users,\r\n name: group.Name,\r\n isManager: group.IsManager,\r\n } as FilterGroup;\r\n });\r\n return mappedGroups.filter(g => g.users.length !== 0);\r\n }\r\n\r\n toRemove = \"\";\r\n removeLoading = false;\r\n removeAllDialog = false;\r\n removeOneDialog = false;\r\n toggleRemoveOne(u: string) {\r\n if (this.removeOneDialog) {\r\n this.removeOneDialog = false;\r\n this.toRemove = \"\";\r\n } else {\r\n this.toRemove = u;\r\n this.removeOneDialog = true;\r\n }\r\n }\r\n async removeHanging() {\r\n this.removeLoading = true;\r\n this.removeOneDialog = true;\r\n await this.removeFromShared({\r\n id: this.session.ID,\r\n sharedWith: [this.toRemove],\r\n });\r\n this.toRemove = \"\";\r\n this.removeLoading = false;\r\n }\r\n async removeAllHanging() {\r\n this.removeLoading = true;\r\n this.removeAllDialog = true;\r\n await this.removeFromShared({\r\n id: this.session.ID,\r\n sharedWith: this.hangingUsers,\r\n });\r\n this.removeLoading = false;\r\n }\r\n\r\n mounted() {\r\n if (!this.retrieved) this.getGroups();\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!./EditSharedWith.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!./EditSharedWith.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditSharedWith.vue?vue&type=template&id=88e2beec&\"\nimport script from \"./EditSharedWith.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditSharedWith.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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VListGroup,{scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c(VListItem,[_c(VListItemAction,{staticClass:\"mr-4\"},[_c(VCheckbox,{attrs:{\"indeterminate\":_vm.indeterminate,\"color\":_vm.allSelected ? 'primary' : 'accent'},on:{\"change\":function (val) { return _vm.toggleAll(val); }},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1),_c(VListItemIcon,{staticClass:\"mr-4\"},[_c(VIcon,[_vm._v(\"mdi-account-group\")])],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(_vm.group.name))]),(_vm.group.isManager)?_c(VListItemSubtitle,[_c('span',[_vm._v(_vm._s(_vm.$t(\"roles.manager\")))])]):_vm._e()],1)],1)]},proxy:true}])},[_c(VList,{staticClass:\"pl-6\"},[_c(VListItemGroup,_vm._l((_vm.group.users),function(user,i){return _c('SharedWithUserItem',{key:(\"user-\" + i),attrs:{\"user\":user,\"selected\":_vm.users},on:{\"update:selected\":function($event){_vm.users=$event}}})}),1)],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\r\nimport Vue from \"vue\";\r\nimport { FilterGroup } from \"@/core/models\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\nimport SharedWithUserItem from \"./SharedWithUserItem.vue\";\r\n\r\n@Component({ components: { SharedWithUserItem } })\r\nexport default class SharedWithItem extends Vue {\r\n @PropSync(\"selected\", { type: Array }) users!: string[];\r\n @Prop({ default: {} as FilterGroup }) group!: FilterGroup;\r\n\r\n toggleAll(val: boolean) {\r\n const emails = this.group.users.map(x => x.email);\r\n if (val) this.users = [...new Set([...this.users, ...emails])];\r\n else this.users = this.users.filter(x => !emails.includes(x));\r\n }\r\n get allSelected() {\r\n return this.group.users.every(x => this.users.includes(x.email));\r\n }\r\n get someSelected() {\r\n return this.group.users.some(x => this.users.includes(x.email));\r\n }\r\n\r\n checked = false;\r\n indeterminate = false;\r\n @Watch(\"users\", { immediate: true })\r\n usesChanged() {\r\n if (this.someSelected) {\r\n this.checked = true;\r\n if (this.allSelected) this.indeterminate = false;\r\n else this.indeterminate = true;\r\n } else this.checked = 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!./SharedWithItem.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!./SharedWithItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SharedWithItem.vue?vue&type=template&id=00f27a9a&\"\nimport script from \"./SharedWithItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./SharedWithItem.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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VListItem,{attrs:{\"value\":_vm.user.email},on:{\"change\":_vm.toggleUser}},[_c(VListItemAction,[_c(VCheckbox,{on:{\"click\":_vm.toggleUser,\"input\":_vm.toggleUser,\"change\":_vm.toggleUser},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(\" \"+_vm._s(_vm.user.name)+\" \")]),_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm.user.email)+\" \")]),(_vm.user.isManager)?_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"roles.manager\"))+\" \")]):_vm._e()],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\r\nimport Vue from \"vue\";\r\nimport { FilterUser } from \"@/core/models\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\nimport DeleteSession from \"@/components/sessions/DeleteSession.vue\";\r\n\r\n@Component({ components: { DeleteSession } })\r\nexport default class SharedWithItem extends Vue {\r\n @PropSync(\"selected\", { type: Array }) users!: string[];\r\n @Prop({ default: {} as FilterUser }) user!: FilterUser;\r\n\r\n get isIncluded() {\r\n return this.users.includes(this.user.email);\r\n }\r\n\r\n toggleUser() {\r\n if (this.isIncluded) {\r\n const idx = this.users.findIndex(x => x === this.user.email);\r\n this.users.splice(idx, 1);\r\n } else this.users.push(this.user.email);\r\n }\r\n\r\n checked = false;\r\n @Watch(\"users\", { immediate: true })\r\n usesChanged() {\r\n this.checked = this.isIncluded;\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!./SharedWithUserItem.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!./SharedWithUserItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SharedWithUserItem.vue?vue&type=template&id=2aa3c38a&\"\nimport script from \"./SharedWithUserItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./SharedWithUserItem.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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\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(VDialog,{attrs:{\"max-width\":\"300px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [(_vm.canDelete)?_c(VBtn,_vm._g({attrs:{\"icon\":\"\",\"elevation\":\"0\",\"color\":\"main\",\"disabled\":_vm.loading,\"loading\":_vm.loading}},on),[_c(VIcon,[_vm._v(\"mdi-delete\")])],1):_vm._e()]}}]),model:{value:(_vm.confirmDeleteDialog),callback:function ($$v) {_vm.confirmDeleteDialog=$$v},expression:\"confirmDeleteDialog\"}},[_c(VCard,{attrs:{\"elevation\":\"0\",\"loading\":_vm.loading,\"disabled\":_vm.loading}},[_c(VCardTitle,{staticClass:\"headline grey lighten-2\",staticStyle:{\"word-break\":\"break-word\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"sessionsPage.deleteSession.youSureDelete\")))])]),_c(VCardText,{staticClass:\"mt-6\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"sessionsPage.deleteSession.deletionInfo\"))+\" \")]),_c(VDivider),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();_vm.confirmDeleteDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"sessionsPage.deleteSession.cancelSessDel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"prezpRed other--text\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.confirmDelete($event)}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"sessionsPage.deleteSession.confirmSessDel\")))])])],1)],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\r\nimport Vue from \"vue\";\r\nimport { Action } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class SessionDetails extends Vue {\r\n @Prop({ default: () => 0 }) id!: number;\r\n @Prop({ default: () => false }) canDelete!: boolean;\r\n @Action(\"sessions/deleteSession\")\r\n deleteSession!: (i: number) => Promise;\r\n\r\n loading = false;\r\n confirmDeleteDialog = false;\r\n async confirmDelete() {\r\n if (!this.canDelete) return;\r\n this.loading = true;\r\n await this.deleteSession(this.id);\r\n this.confirmDeleteDialog = false;\r\n this.$emit(\"deleted\");\r\n this.loading = 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!./DeleteSession.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!./DeleteSession.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeleteSession.vue?vue&type=template&id=48990b6f&\"\nimport script from \"./DeleteSession.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeleteSession.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":""}