{"version":3,"sources":["webpack:///../../../src/components/VGrid/VRow.ts","webpack:///./src/views/groups/components/PublicGroupItem.vue?b18f","webpack:///./src/views/groups/components/PublicGroupItem.vue","webpack:///./src/views/groups/components/PublicGroupItem.vue?1e5d","webpack:///./src/views/groups/components/PublicGroupItem.vue?92ea","webpack:///../../../src/components/VGrid/VCol.ts","webpack:///./src/views/groups/components/PublicGroupItem.vue?6ebc"],"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","_vm","this","_h","$createElement","_c","_self","VCard","attrs","VOverlay","removeGroupLoading","group","ID","removedGroupID","VProgressCircular","VRow","VCol","_v","_s","Name","$t","_f","CreatedAt","VIcon","owner","_e","VBtn","on","$event","stopPropagation","removeDialog","joining","joinDialog","VBadge","Videos","length","toString","Posts","Users","_l","userAvatar","i","VAvatar","key","style","maxGroupUsersAvatars","staticStyle","getMoreUserCounter","VDialog","model","callback","$$v","expression","VSpacer","removeGroup","joinGroup","staticRenderFns","PublicGroupItem","emails","map","u","Email","slice","join","users","getInitials","Username","fullName","allNames","trim","split","acc","curr","index","charAt","toUpperCase","usersCount","counter","$n","user","find","x","IsOwner","removeGroupAction","msg","joinGroupAction","displaySnackbar","console","log","__decorate","Prop","Getter","Action","Component","component","breakpointProps","Number","offsetProps","orderProps","col","offset","order","cols","alignSelf","parent","hasColClasses","some","startsWith"],"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,E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IN,EAAUC,GAvBN,GA0BTJ,EAAEvC,EAAMkC,IAAKe,eAAUT,EAAM,CAAEW,MAAOR,IAAcF,O,oCCnI/D","file":"assets/js/chunk-68b65227.ba5aa076.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 { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } 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 { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\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',{staticClass:\"group-item\"},[_c(VCard,{staticClass:\"mb-6\",attrs:{\"elevation\":\"0\"}},[_c(VOverlay,{staticClass:\"d-flex align-center justify-center\",attrs:{\"absolute\":\"\",\"value\":_vm.removeGroupLoading && _vm.group.ID == _vm.removedGroupID}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"64\"}})],1),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"12\",\"lg\":\"8\",\"md\":\"6\"}},[_c(VCardTitle,{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.group.Name))]),_c(VCardSubtitle,{staticClass:\"font-weight-normal\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"groups.created\"))+\": \"+_vm._s(_vm._f(\"format\")(_vm.group.CreatedAt))+\" \")])],1),_c(VCol,{staticClass:\"pt-6 d-flex flex-column align-center\",attrs:{\"cols\":\"12\",\"lg\":\"4\",\"md\":\"6\"}},[_c('div',{staticClass:\"subheader\"},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-shield-account\")]),_c('span',[_vm._v(_vm._s(_vm.owner))]),(_vm.group.IsOwner)?_c('span',{staticClass:\"ml-1 font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"groups.you\"))+\" \")]):_vm._e()],1),(_vm.group.IsOwner)?_c(VBtn,{staticClass:\"mt-4 main--text\",attrs:{\"block\":\"\",\"elevation\":\"0\",\"color\":\"accent\",\"loading\":_vm.removeGroupLoading,\"disabled\":_vm.removeGroupLoading},on:{\"click\":function($event){$event.stopPropagation();_vm.removeDialog = true}}},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-delete\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"groupItem.deleteGroup\")))])],1):_c(VBtn,{staticClass:\"mt-4 main--text\",attrs:{\"block\":\"\",\"elevation\":\"0\",\"color\":\"accent\",\"loading\":_vm.joining,\"disabled\":_vm.joining},on:{\"click\":function($event){$event.stopPropagation();_vm.joinDialog = true}}},[_c(VIcon,{staticClass:\"mr-2 rotate\"},[_vm._v(\"mdi-exit-to-app\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"groupItem.join\")))])],1)],1)],1),_c(VRow,[_c(VCardText,[_c(VBadge,{staticClass:\"mr-4\",attrs:{\"overlap\":\"\",\"color\":\"primary\",\"content\":_vm.group.Videos.length.toString()}},[_c(VIcon,[_vm._v(\"mdi-video\")])],1),_c(VBadge,{staticClass:\"mr-4\",attrs:{\"overlap\":\"\",\"color\":\"primary\",\"content\":_vm.group.Posts.length.toString()}},[_c(VIcon,[_vm._v(\"mdi-post\")])],1),_c(VBadge,{staticClass:\"mr-4\",attrs:{\"overlap\":\"\",\"color\":\"primary\",\"content\":_vm.group.Users.length.toString()}},[_c(VIcon,[_vm._v(\"mdi-account\")])],1),_vm._l((_vm.userAvatars),function(userAvatar,i){return _c(VAvatar,{key:i,staticClass:\"grey lighten-4 ml-2\",style:((\"\\n border: 2px solid #fff !important;\\n \" + (i > 0 && 'margin-left: -8px !important;') + \"\\n \")),attrs:{\"size\":\"40\"}},[_vm._v(\" \"+_vm._s(userAvatar)+\" \")])}),(_vm.group.Users.length > _vm.maxGroupUsersAvatars)?_c(VAvatar,{staticClass:\"grey lighten-5 font-weight-bold text-caption text-no-wrap\",staticStyle:{\"border\":\"2px solid #fff !important\",\"margin-left\":\"-8px !important\",\"font-size\":\"11px !important\"},attrs:{\"size\":\"40\",\"left\":\"\"}},[_vm._v(\"+\"+_vm._s(_vm.getMoreUserCounter(_vm.group.Users.length)))]):_vm._e()],2)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.$t(\"groups.delete\")))]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"groupItem.areYouSure\"))+\" \\\"\"+_vm._s(_vm.group.Name)+\"\\\"? \"+_vm._s(_vm.$t(\"groupItem.deleteInfo\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.removeGroup($event)}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])]),_c(VBtn,{attrs:{\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.removeDialog = false}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"global.cancel\")))])])],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.joinDialog),callback:function ($$v) {_vm.joinDialog=$$v},expression:\"joinDialog\"}},[_c(VCard,{attrs:{\"elevation\":\"0\",\"loading\":_vm.joining,\"disabled\":_vm.joining}},[_c(VCardTitle,{staticClass:\"headline\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"groupItem.join\"))+\" \")]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"groupItem.confirmJoin\", { name: _vm.group.Name }))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.joinGroup($event)}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])]),_c(VBtn,{attrs:{\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.joinDialog = false}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"global.cancel\")))])])],1)],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\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\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Group } from \"@/core/models\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class PublicGroupItem extends Vue {\r\n @Prop({ default: () => {} }) group!: Group;\r\n @Getter(\"groups/removeGroupLoading\") removeGroupLoading!: boolean;\r\n @Getter(\"groups/removedGroupID\") removedGroupID!: number;\r\n @Action(\"groups/removeGroup\") removeGroupAction!: Function;\r\n @Action(\"groups/leaveGroup\")\r\n leaveGroupAction!: (i: number) => Promise;\r\n @Action(\"groups/joinGroup\")\r\n joinGroupAction!: (i: number) => Promise;\r\n @Action(\"displaySnackbar\")\r\n displaySnackbar!: (m: string) => void;\r\n\r\n joinDialog = false;\r\n removeDialog = false;\r\n joining = false;\r\n maxGroupUsersAvatars = 3;\r\n\r\n // Group helpers\r\n get userEmails() {\r\n let emails = this.group.Users.map(u => u.Email);\r\n if (emails.length > 3) return emails.slice(0, 3).join(\", \") + \", ...\";\r\n else return emails.join(\", \");\r\n }\r\n\r\n get userAvatars() {\r\n const users = this.group.Users.map(u => this.getInitials(u.Username));\r\n //const users = this.fakeUsers;\r\n\r\n return users.slice(0, this.maxGroupUsersAvatars);\r\n }\r\n\r\n getInitials(fullName: string) {\r\n const allNames = fullName.trim().split(\" \");\r\n return allNames.reduce((acc: string, curr: string, index: number) => {\r\n if (index === 0 || index === allNames.length - 1)\r\n acc = `${acc}${curr.charAt(0).toUpperCase()}`;\r\n\r\n return acc;\r\n }, \"\");\r\n }\r\n\r\n getMoreUserCounter(usersCount: number) {\r\n const counter = usersCount - this.maxGroupUsersAvatars;\r\n // Note: We always use en for compact formatting, de-DE doesn't support short formats like 1K or 1M\r\n if (counter > 100000 && counter < 1000000)\r\n return this.$n(counter, \"compact\", \"en\");\r\n\r\n return this.$n(counter, \"compactFraction1\", \"en\");\r\n }\r\n\r\n get owner() {\r\n const user = this.group.Users.find(x => x.IsOwner);\r\n return user ? user.Username : \"\";\r\n }\r\n\r\n // Delete group\r\n removeGroup() {\r\n if (this.removeGroupLoading) return;\r\n this.removeDialog = false;\r\n this.removeGroupAction(this.group.ID);\r\n }\r\n\r\n // join group\r\n async joinGroup() {\r\n this.joining = true;\r\n try {\r\n const msg = this.$t(\"groupItem.groupJoined\", {\r\n name: this.group.Name,\r\n }).toString();\r\n await this.joinGroupAction(this.group.ID);\r\n this.displaySnackbar(msg);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.joinDialog = false;\r\n this.joining = 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!./PublicGroupItem.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!./PublicGroupItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PublicGroupItem.vue?vue&type=template&id=de9cc620&\"\nimport script from \"./PublicGroupItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./PublicGroupItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PublicGroupItem.vue?vue&type=style&index=0&id=de9cc620&prod&lang=css&\"\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 './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--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./PublicGroupItem.vue?vue&type=style&index=0&id=de9cc620&prod&lang=css&\""],"sourceRoot":""}