{"version":3,"sources":["webpack:///./src/components/TenantMembershipLink.vue?c12e","webpack:///./src/views/Memberships.vue?799a","webpack:///./src/components/TenantCreateButton.vue?d288","webpack:///./src/components/TenantCreateButton.vue","webpack:///./src/components/TenantCreateButton.vue?56d9","webpack:///./src/components/TenantCreateButton.vue?b984","webpack:///./src/components/TenantMemberships.vue?d798","webpack:///./src/components/TenantMembershipLink.vue?c908","webpack:///./src/components/TenantMembershipLink.vue","webpack:///./src/components/TenantMembershipLink.vue?2ff0","webpack:///./src/components/TenantMembershipLink.vue?4e7d","webpack:///./src/components/TenantMemberships.vue","webpack:///./src/components/TenantMemberships.vue?4b43","webpack:///./src/components/TenantMemberships.vue?b862","webpack:///./src/views/Memberships.vue","webpack:///./src/views/Memberships.vue?8597","webpack:///./src/views/Memberships.vue?b231"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","attrs","displayBack","toolbar","scopedSlots","_u","key","fn","_e","staticClass","on","signoutConfirm","_v","proxy","staticRenderFns","color","large","small","width","tenantAdd","_s","icon","title","Vue","extend","props","type","String","default","Boolean","Number","methods","$store","dispatch","component","VBtn","VCol","VIcon","_l","membership","i","_f","trashed","length","j","style","$vuetify","breakpoint","xsOnly","disabled","routeToTenant","class","smAndUp","message_count","staticStyle","line1","line2","mixins","tenantNavMixin","Object","required","computed","borders","elevation","margin","borderColor","$colors","grey","lighten2","borderStyle","borderWidth","borderTop","index","goToTenant","tenant_id","$route","query","goto","VBadge","VCard","VListItem","VListItemContent","VList","VListItemIcon","VListItemSubtitle","VListItemTitle","VRow","components","PersonShowTitle","TenantMembershipLink","active","memberships","activeMemberships","filter","m","deleted_at","getters","tenantMemberships","trashedMemberships","TenantCreateButton","TenantMemberships","data","back","left","right","mapGetters","multitenantEnabled","user","reseller","tenant","subscription_tier"],"mappings":"oIAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAO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,KAAMiD,OAAA","file":"js/memberships.8ee8483a.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMembershipLink.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page-template',{ref:\"membershipPanel\",attrs:{\"backHidden\":!_vm.displayBack,\"toolbar\":_vm.toolbar},scopedSlots:_vm._u([{key:\"left-top\",fn:function(){return [_c('v-row',[(_vm.multitenantEnabled)?_c('tenant-create-button',{attrs:{\"small\":\"\",\"color\":\"primary\",\"width\":\"180\"}}):_vm._e(),_c('v-col',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"grey--text text--darken-3\",attrs:{\"rounded\":\"\",\"outlined\":\"\",\"small\":\"\",\"width\":\"180\"},on:{\"click\":_vm.signoutConfirm}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-shield-lock-outline\")]),_vm._v(\" Sign Out \")],1)],1)],1)]},proxy:true}])},[_c('tenant-memberships')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:\"text-center\"},[_c('v-btn',{attrs:{\"rounded\":\"\",\"outlined\":\"\",\"color\":_vm.color,\"large\":_vm.large,\"small\":_vm.small,\"width\":_vm.width},on:{\"click\":_vm.tenantAdd}},[(_vm.icon)?_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(_vm._s(_vm.icon))]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.title)+\" \")],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n // The color of the button\n color: {\n type: String,\n default: 'grey darken-2'\n },\n // The icon displayed to the left of the title\n icon: {\n type: String,\n default: 'mdi-domain'\n },\n // Applies the 'large' prop to the button\n large: {\n type: Boolean,\n default: false\n },\n // Applies the 'small' prop to the button\n small: {\n type: Boolean,\n default: false\n },\n // The text shown on the button\n title: {\n type: String,\n default: 'Add Workspace'\n },\n // Set the 'width' prop on the button\n width: {\n type: [String, Number],\n default: null\n }\n },\n methods: {\n tenantAdd(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'New Workspace',\n icon: 'mdi-domain',\n color: 'primary',\n component: 'tenant-create-form'\n })\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantCreateButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantCreateButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantCreateButton.vue?vue&type=template&id=1ce67d84&\"\nimport script from \"./TenantCreateButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantCreateButton.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VCol,VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:\"pa-0\",attrs:{\"align\":\"center\"}},[_vm._l((_vm.active),function(membership,i){return [_c('v-col',{key:(\"active-\" + i),staticClass:\"pa-1 ma-0\",attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('tenant-membership-link',{attrs:{\"membership\":membership,\"line1\":_vm._f(\"membershipTitle\")(membership)}})],1)]}),(_vm.trashed && _vm.trashed.length > 0)?_c('div',[_c('person-show-title',{attrs:{\"title\":\"Deleted Workspaces\"}}),_vm._l((_vm.trashed),function(membership,j){return [_c('v-col',{key:(\"trashed-\" + j),staticClass:\"pa-1 ma-0\",attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('tenant-membership-link',{attrs:{\"membership\":membership}})],1)]})],2):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{style:(_vm.borders),attrs:{\"tile\":_vm.$vuetify.breakpoint.xsOnly,\"elevation\":_vm.$vuetify.breakpoint.xsOnly ? 0 : 1}},[_c('v-list-item',{attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.routeToTenant}},[_c('v-list-item-icon',{staticClass:\"align-self-center\",style:(_vm.$vuetify.breakpoint.xsOnly ? 'flex-direction:column-reverse;' : '')},[_c('v-col',{staticClass:\"pa-0 pt-2\",class:_vm.$vuetify.breakpoint.smAndUp ? 'ml-1' : '',attrs:{\"align\":\"center\"}},[(_vm.membership.message_count)?_c('v-badge',{attrs:{\"small\":\"\",\"overlap\":\"\",\"color\":\"primary\",\"content\":_vm.membership.message_count}},[_c('v-icon',{attrs:{\"large\":\"\",\"color\":'grey'}},[_vm._v(\" \"+_vm._s(_vm.icon)+\" \")])],1):_c('v-icon',{attrs:{\"large\":\"\",\"color\":'grey'}},[_vm._v(\" \"+_vm._s(_vm.icon)+\" \")])],1)],1),_c('v-list-item-content',{staticStyle:{\"text-align\":\"left\"}},[_c('v-row',{staticClass:\"mx-0\"},[(_vm.line1)?_c('v-list-item-title',{class:{'title' : _vm.$vuetify.breakpoint.smAndUp},staticStyle:{\"text-align\":\"left\",\"max-width\":\"65%\",\"flex-grow\":\"0\",\"font-weight\":\"bold\"}},[_vm._v(\" \"+_vm._s(_vm.line1)+\" \")]):_vm._e()],1),(_vm.line2)?_c('v-list-item-subtitle',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(_vm._f(\"phone\")(_vm.line2))+\" \")]):_vm._e()],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\nimport TenantMembership from '@/types/TenantMembership.interface'\nimport Vue, { PropType } from 'vue'\nimport tenantNavMixin from '@/mixins/tenant-nav-mixin'\nexport default Vue.extend({\n mixins: [tenantNavMixin],\n props: {\n // The color of the tile\n color: {\n type: String,\n default: 'grey'\n },\n disabled: {\n type: Boolean,\n default: false\n },\n // The custom icon to display above the subdomain\n icon: {\n type: String,\n default: 'mdi-home'\n },\n // line 1 of text\n line1: {\n type: String,\n default: ''\n },\n // line 2 of text\n line2: {\n type: String,\n default: ''\n },\n // The tenant membership we are binding to\n membership: {\n type: Object as PropType,\n required: true\n }\n },\n computed: {\n borders(): object {\n // Apply flat style if elevation is zero\n if (this.elevation == 0 || this.$vuetify.breakpoint.xsOnly) {\n return {\n margin: '0px !important',\n borderColor: this.$colors.grey.lighten2,\n borderStyle: 'solid',\n borderWidth: this.$vuetify.breakpoint.xsOnly\n ? '0 0 1px 0'\n : '0 1px 1px 1px',\n borderTop:\n this.index === 0 && `1px solid ${this.$colors.grey.lighten2}`\n }\n }\n }\n },\n methods: {\n async routeToTenant(): Promise {\n // Go to the tenant\n this.goToTenant(this.membership.tenant_id, this.$route.query.goto || null)\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMembershipLink.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMembershipLink.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantMembershipLink.vue?vue&type=template&id=054314c2&\"\nimport script from \"./TenantMembershipLink.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantMembershipLink.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TenantMembershipLink.vue?vue&type=style&index=0&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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } 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';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBadge,VCard,VCol,VIcon,VListItem,VListItemContent,VListItemIcon,VListItemSubtitle,VListItemTitle,VRow})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport TenantMembership from '@/types/TenantMembership.interface'\nimport TenantMembershipLink from '@/components/TenantMembershipLink.vue'\nimport PersonShowTitle from '@/components/PersonShowTitle.vue'\nimport Vue from 'vue'\nexport default Vue.extend({\n components: { PersonShowTitle, TenantMembershipLink },\n computed: {\n active(): TenantMembership[] {\n // If memberships so NOT exist, do nothing\n if (!this.memberships) return\n\n // Else, filter out inactive (ie deleted) memberships\n const activeMemberships = this.memberships.filter((m: TenantMembership) => {\n return m.deleted_at === null\n })\n\n // Return the active memberships\n return activeMemberships\n },\n memberships(): TenantMembership[] {\n return this.$store.getters.tenantMemberships\n },\n trashed(): TenantMembership[] {\n // If memberships do NOT exist, do nothing\n if (!this.memberships) return\n\n // Else, filter out active memberships\n const trashedMemberships = this.memberships.filter((m: TenantMembership) => {\n return m.deleted_at != null\n })\n\n // Return the inactive (ie soft deleted) memberships\n return trashedMemberships\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMemberships.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMemberships.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantMemberships.vue?vue&type=template&id=4fbc607d&\"\nimport script from \"./TenantMemberships.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantMemberships.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport { mapGetters } from 'vuex'\nimport TenantCreateButton from '@/components/TenantCreateButton.vue'\nimport TenantMemberships from '@/components/TenantMemberships.vue'\nimport { signoutConfirm } from '@/utility/helpers'\nexport default Vue.extend({\n components: { TenantCreateButton, TenantMemberships },\n data() {\n return {\n back: false,\n toolbar: {\n title: 'Workspaces',\n left: [],\n right: []\n }\n }\n },\n computed: {\n ...mapGetters(['tenantMemberships', 'user']),\n displayBack(): boolean {\n return this.$vuetify.breakpoint.xsOnly && this.back\n },\n multitenantEnabled(): boolean {\n // Check if this user is a reseller, and if so, return true\n if (this.user.reseller) return true\n\n // If there are somehow no memberships, false\n if (!this.tenantMemberships) return false\n\n // If this user has ANY subscriptions that has an empower plan, enable this\n for (let i = 0; i < this.tenantMemberships.length; i++) {\n // Grab the membership's tenant\n let tenant = this.tenantMemberships[i]\n\n // Check this tenant's tier, and if it is advanced, proceed\n if (tenant.subscription_tier == 'advanced') return true\n }\n\n return false\n }\n },\n methods: {\n signoutConfirm(): void {\n signoutConfirm()\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Memberships.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Memberships.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Memberships.vue?vue&type=template&id=19699acc&\"\nimport script from \"./Memberships.vue?vue&type=script&lang=ts&\"\nexport * from \"./Memberships.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n"],"sourceRoot":""}