{"version":3,"sources":["webpack:///./src/components/WorkspaceSettings.vue?19d7","webpack:///./src/components/WorkspaceSettings.vue?3107","webpack:///./src/components/WorkspaceSettings.vue","webpack:///./src/components/WorkspaceSettings.vue?e62b","webpack:///./src/components/WorkspaceSettings.vue?3c98","webpack:///./src/components/InboxSettings.vue?b8cb","webpack:///./src/components/MigrationForm.vue?487b","webpack:///./src/components/MigrationForm.vue?1d81","webpack:///./src/components/MigrationForm.vue","webpack:///./src/components/MigrationForm.vue?59de","webpack:///./src/components/MigrationForm.vue?a332","webpack:///./src/components/InboxSettings.vue?15c1","webpack:///./src/components/InboxSettings.vue","webpack:///./src/components/InboxSettings.vue?aab6","webpack:///./src/components/InboxSettings.vue?b485","webpack:///./src/components/MigrationPopup.vue?87dd","webpack:///./src/components/MigrationPopup.vue","webpack:///./src/components/MigrationPopup.vue?5455","webpack:///./src/components/MigrationPopup.vue?9f7c","webpack:///./src/components/MigrationPopup.vue?3245","webpack:///./src/views/SettingsIndex.vue?b873","webpack:///./src/views/SettingsIndex.vue","webpack:///./src/views/SettingsIndex.vue?ae2d","webpack:///./src/views/SettingsIndex.vue?2bad"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","staticStyle","_v","_l","item","i","key","_s","display","description","loading","on","$event","enable","scopedSlots","_u","fn","enabled","proxy","model","value","callback","$$v","$set","expression","staticRenderFns","Vue","extend","data","loaders","computed","workspaceSettings","$store","getters","methods","idx","isLoading","includes","setting","settingDescription","name","settingDisplay","bool","payload","push","dispatch","splice","indexOf","component","VCard","VCardText","VCardTitle","VCol","VRow","VSwitch","step","directives","rawName","errors","collect","username","connectToV2","contacts","title","customFields","migrateData","transferNumber","props","type","String","required","mapGetters","currentTenant","tenant","close","id","response","text","commit","message","$emit","smsAccount","msisdn","VBtn","VCheckbox","VStepper","VStepperContent","VStepperItems","VTextField","inboxSettings","content","can_migrate_to_v2","section","bullet","j","waitListTypeForm","learnMore","sections","bullets","window","open","isApp","VIcon","toolbar","ref","items","settingsTile","_e","mounted","needsProvider","$route","query","create","data_provider","popWorkspace","popInbox","dataProviderSelect","openWorkspaceSettings","openInboxSettings","inboxSettingsEnabled","getEnabled","hasPermission","userHasPermission","icon","goToLink","disabledPopup","hidden","resellerBlock","isMobile","$router","goToMemberships","multitenantEnabled","migrateToV2","filter","x","user","reseller","memberships","length","users","role","userRole","adminId","admin_user_id","admin","find","color","closeable","link","goToDataProvider","route","canMigrateToV2","settingGet","popCannotMigrateToV2","popInboxSettingsDisabled","width","paywall_type","metadata","settingIcon","disabled","listIcon","IListIconType","leftIcon","line1"],"mappings":"gHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,KAAO,GAAG,MAAQ,UAAU,CAACF,EAAG,eAAe,CAACG,YAAY,6BAA6BC,YAAY,CAAC,kBAAkB,YAAY,aAAa,SAAS,cAAc,MAAM,YAAY,SAAS,CAACR,EAAIS,GAAG,0BAA0BL,EAAG,cAAc,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,aAAa,KAAK,CAACN,EAAIU,GAAIV,EAAqB,mBAAE,SAASW,EAAKC,GAAG,MAAO,CAACR,EAAG,QAAQ,CAACS,IAAID,EAAEL,YAAY,OAAOD,MAAM,CAAC,KAAO,KAAK,CAACF,EAAG,QAAQ,CAACG,YAAY,cAAcD,MAAM,CAAC,aAAa,KAAK,CAACF,EAAG,QAAQ,CAACG,YAAY,6BAA6BC,YAAY,CAAC,MAAQ,YAAY,CAACR,EAAIS,GAAG,IAAIT,EAAIc,GAAGd,EAAIe,QAAQJ,IAAO,OAAOP,EAAG,QAAQ,CAACG,YAAY,iCAAiCC,YAAY,CAAC,cAAc,SAAS,CAACR,EAAIS,GAAG,IAAIT,EAAIc,GAAGd,EAAIgB,YAAYL,IAAO,OAAOP,EAAG,QAAQ,CAACA,EAAG,WAAW,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ract-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!./WorkspaceSettings.vue?vue&type=style&index=0&id=223c70d5&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{attrs:{\"flat\":\"\",\"width\":\"775px\"}},[_c('v-card-title',{staticClass:\"d-flex justify-center mt-8\",staticStyle:{\"text-decoration\":\"underline\",\"text-align\":\"center\",\"font-weight\":\"800\",\"font-size\":\"36px\"}},[_vm._v(\" Workspace Settings \")]),_c('v-card-text',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_vm._l((_vm.workspaceSettings),function(item,i){return [_c('v-col',{key:i,staticClass:\"pa-6\",attrs:{\"cols\":12}},[_c('v-row',{staticClass:\"flex-column\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"headline font-weight-black\",staticStyle:{\"color\":\"#4D4D4D\"}},[_vm._v(\" \"+_vm._s(_vm.display(item))+\" \")]),_c('v-col',{staticClass:\"font-weight-regular subtitle-2\",staticStyle:{\"line-height\":\"22px\"}},[_vm._v(\" \"+_vm._s(_vm.description(item))+\" \")]),_c('v-col',[_c('v-switch',{attrs:{\"dense\":\"\",\"inset\":\"\",\"color\":\"primary\",\"disabled\":_vm.loading(i),\"loading\":_vm.loading(i),\"data-cy\":((item.name) + \"Switch\")},on:{\"change\":function($event){return _vm.enable($event, i)}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"switch-label\",attrs:{\"data-enabled\":(\"\" + (item.enabled ? true : false)),\"data-cy\":((item.name) + \"Label\")}},[_vm._v(\" Enable \")])]},proxy:true}],null,true),model:{value:(item.enabled),callback:function ($$v) {_vm.$set(item, \"enabled\", $$v)},expression:\"item.enabled\"}})],1)],1)],1)]})],2)],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\nimport Vue from 'vue'\nimport Setting from '@/types/Setting.interface'\nexport default Vue.extend({\n data() {\n return {\n loaders: []\n }\n },\n computed: {\n workspaceSettings(): Setting[] {\n // Grab our workspace settings\n return this.$store.getters.workspaceSettings\n }\n },\n methods: {\n loading(idx: number) {\n // Check if the switch at index is loading\n const isLoading = this.loaders.includes(idx)\n\n return isLoading\n },\n description(setting: Setting): string {\n // Return the description of our setting\n return this.$store.getters.settingDescription(setting.name)\n },\n display(setting: Setting): string {\n // Return the display name of our setting\n return this.$store.getters.settingDisplay(setting.name)\n },\n async enable(bool: boolean, idx: number): Promise {\n // Change the enabled flag on our setting with this index\n this.workspaceSettings[idx].enabled = bool\n\n // Grab this setting as our payload\n const payload = this.workspaceSettings[idx]\n\n // Start the loading spinner\n this.loaders.push(idx)\n\n // Submit the changes to the API\n await this.$store.dispatch('settingsPut', payload)\n\n // Stop the loading spinner\n this.loaders.splice(this.loaders.indexOf(idx), 1)\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!./WorkspaceSettings.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!./WorkspaceSettings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkspaceSettings.vue?vue&type=template&id=223c70d5&scoped=true&\"\nimport script from \"./WorkspaceSettings.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkspaceSettings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./WorkspaceSettings.vue?vue&type=style&index=0&id=223c70d5&scoped=true&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 \"223c70d5\",\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 { 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 { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VRow,VSwitch})\n","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!./InboxSettings.vue?vue&type=style&index=0&id=702ed6d5&scoped=true&lang=css&\"","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!./MigrationForm.vue?vue&type=style&index=0&id=48dffe1a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-stepper',{model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-items',[_c('v-stepper-content',{staticClass:\"pa-3\",attrs:{\"step\":\"1\"}},[_c('div',{staticClass:\"ma-8 dialog-overflow\"},[_c('v-col',[_c('v-row',{staticClass:\"flex-column justify-center align-center pa-4\"},[_c('div',{staticClass:\"header-text\"},[_vm._v(\" Enter your MessageDesk 2.0 email here: \"),_c('v-text-field',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],staticClass:\"text-main\",attrs:{\"required\":\"\",\"label\":\"Email\",\"name\":\"Email\",\"type\":\"email\",\"prepend-icon\":\"mdi-email\",\"error-messages\":_vm.errors.collect('Email')},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}})],1)]),_c('v-row',{staticClass:\"flex-column justify-center align-center pa-4\"},[_c('v-btn',{staticStyle:{\"border-radius\":\"8px\",\"border\":\"1px solid #6142B0\",\"background\":\"#6142B0\"},attrs:{\"color\":\"primary\",\"depressed\":\"\",\"height\":\"50px\",\"width\":\"140px\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.connectToV2()}}},[_c('b',[_vm._v(\"Connect\")])])],1)],1)],1)]),_c('v-stepper-content',{staticClass:\"pa-3\",attrs:{\"step\":\"2\"}},[_c('v-col',[_c('div',{staticClass:\"header-text\"},[_vm._v(\" Choose what data you wish to move to MessageDesk 2.0. Some data will require other data to be imported as well. \")]),_c('v-row',{staticClass:\"align-center\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"1\"}},[_c('v-checkbox',{model:{value:(_vm.contacts.enabled),callback:function ($$v) {_vm.$set(_vm.contacts, \"enabled\", $$v)},expression:\"contacts.enabled\"}})],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('div',{staticClass:\"subtitle-1\"},[_vm._v(\" \"+_vm._s(_vm.contacts.title)+\" \")])])],1),_c('v-row',{staticClass:\"align-center\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"1\"}},[_c('v-checkbox',{model:{value:(_vm.customFields.enabled),callback:function ($$v) {_vm.$set(_vm.customFields, \"enabled\", $$v)},expression:\"customFields.enabled\"}})],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('div',{staticClass:\"subtitle-1\"},[_vm._v(\" \"+_vm._s(_vm.customFields.title)+\" \")])])],1),_c('v-row',{staticClass:\"flex-column justify-center align-center pa-4\"},[_c('v-btn',{staticStyle:{\"border-radius\":\"8px\",\"border\":\"1px solid #6142B0\",\"background\":\"#6142B0\"},attrs:{\"color\":\"primary\",\"depressed\":\"\",\"height\":\"50px\",\"width\":\"140px\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.migrateData()}}},[_c('b',[_vm._v(\"Migrate Data\")])])],1)],1)],1),_c('v-stepper-content',{staticClass:\"pa-3\",attrs:{\"step\":\"3\"}},[_c('v-col',[_c('v-row',{staticClass:\"justify-left align-center\"},[_c('div',{staticClass:\"header-text-large\"},[_vm._v(\"Transferring your number to 2.0 means that:\")]),_c('ul',{staticClass:\"pt-2\"},[_c('li',{staticClass:\"header-text pt-1\"},[_vm._v(\" The current app will no longer send / receive texts. They will now be handled in the 2.0 app \")]),_c('li',{staticClass:\"header-text pt-1\"},[_vm._v(\" You can always move your number back from 2.0 if you choose \")])])]),_c('v-row',{staticClass:\"flex-column justify-center align-center pt-6\"},[_c('v-btn',{staticStyle:{\"border-radius\":\"8px\",\"border\":\"1px solid #6142B0\",\"background\":\"#6142B0\"},attrs:{\"color\":\"primary\",\"depressed\":\"\",\"height\":\"50px\",\"width\":\"140px\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.transferNumber()}}},[_c('b',[_vm._v(\"Migrate Number\")])])],1)],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\nimport Tenant from '@/types/Tenant.interface'\nimport { mapGetters } from 'vuex'\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n step: {\n type: String, \n required: true\n }\n },\n data: () => ({\n // User's V2 username (email)\n username: null,\n loading: false,\n contacts: {\n title: \"Contacts\",\n enabled: false\n },\n customFields: {\n title: \"Custom Fields\",\n enabled: false\n }\n }),\n computed: {\n ...mapGetters([\n 'smsAccount',\n ]),\n currentTenant(): Tenant {\n return this.$store.getters.tenant\n },\n },\n methods: {\n close(): void {\n return this.$store.dispatch('dialogClose', 'APP')\n },\n async connectToV2(): Promise {\n // Start spinner to indicate submission is being processed\n this.loading = true\n\n const payload = {\n 'tenantId': this.currentTenant.id,\n 'username': this.username\n }\n\n const response = await this.$store.dispatch('tenantConnectToV2', payload)\n\n // If our response is null it means we got a 500 error, i.e user email is incorrect or non-existant\n if (!response) {\n this.loading = false\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Connection Failed',\n text: 'Ensure that the email provided is the one used when you created your MessageDesk Version 2 account.'\n })\n }\n\n // Reset loading state so button stops spinning\n this.loading = false\n \n // Let the user know they are connected\n this.$store.commit('appNotificationBarSet', {\n message: 'Accounts Connected',\n type: 'success',\n })\n\n // Close our dialog, we submit here so that our callback is activated causing this workflow to be greyed out \n // and we'll have the banner above indicate connection was successful\n return this.$emit('submit', response)\n },\n async migrateData(): Promise {\n // Start spinner to indicate submission is being processed\n this.loading = true\n\n // When the time comes this payload will be updated with more fields for time and data selection\n const payload = {\n 'tenantId': this.currentTenant.id,\n 'migrateCustomFields': this.customFields.enabled,\n 'migrateContacts': this.contacts.enabled\n }\n \n const response = await this.$store.dispatch('tenantMigrateData', payload)\n\n // If our response is null it means we got a 500 error, i.e data download failed to start\n if (!response) {\n this.loading = false\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Data Migration Failed',\n text: 'Please Contact Support.'\n })\n }\n\n // Reset loading state so button stops spinning\n this.loading = false\n \n // Let the user know their data is migrating\n this.$store.commit('appNotificationBarSet', {\n message: 'Data Migration Started',\n type: 'success',\n })\n\n // Close our dialog\n return this.close()\n },\n async transferNumber(): Promise {\n // Start spinner to indicate submission is being processed\n this.loading = true\n\n // Ensure that the customer does have a tenant msisdn first\n if (!this.smsAccount) {\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Phone Migration Failed',\n text: 'There is no phone number currently assocaited with this workspace.'\n })\n }\n\n const payload = {\n 'tenantId': this.currentTenant.id,\n 'phoneNumber': this.smsAccount.msisdn\n }\n \n const response = await this.$store.dispatch('tenantMigratePhone', payload)\n\n // If our response is null it means we got a 500 error, i.e phone migration failed to start\n if (!response) {\n this.loading = false\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Phone Migration Failed',\n text: 'Please Contact Support.'\n })\n }\n\n // Reset loading state so button stops spinning\n this.loading = false\n \n // Let the user know their phone is migrating\n this.$store.commit('appNotificationBarSet', {\n message: 'Phone Migration Started',\n type: 'success',\n })\n\n // Close our dialog\n return this.close()\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!./MigrationForm.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!./MigrationForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MigrationForm.vue?vue&type=template&id=48dffe1a&scoped=true&\"\nimport script from \"./MigrationForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./MigrationForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MigrationForm.vue?vue&type=style&index=0&id=48dffe1a&scoped=true&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 \"48dffe1a\",\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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperItems } from 'vuetify/lib/components/VStepper';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCheckbox,VCol,VRow,VStepper,VStepperContent,VStepperItems,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{attrs:{\"flat\":\"\",\"width\":\"775px\"}},[_c('v-card-title',{staticClass:\"d-flex justify-center mt-8\",staticStyle:{\"text-decoration\":\"underline\",\"text-align\":\"center\",\"font-weight\":\"800\",\"font-size\":\"36px\"}},[_vm._v(\" Inbox Settings \")]),_c('v-card-text',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_vm._l((_vm.inboxSettings),function(item,i){return [_c('v-col',{key:i,staticClass:\"pa-6\",attrs:{\"cols\":12}},[_c('v-row',{staticClass:\"flex-column\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"headline font-weight-black\",staticStyle:{\"color\":\"#4D4D4D\"}},[_vm._v(\" \"+_vm._s(_vm.display(item))+\" \")]),_c('v-col',{staticClass:\"font-weight-regular subtitle-2\",staticStyle:{\"line-height\":\"22px\"}},[_vm._v(\" \"+_vm._s(_vm.description(item))+\" \")]),_c('v-col',[_c('v-switch',{attrs:{\"dense\":\"\",\"inset\":\"\",\"color\":\"primary\",\"disabled\":_vm.loading(i),\"loading\":_vm.loading(i),\"data-cy\":((item.name) + \"Switch\")},on:{\"change\":function($event){return _vm.enable($event, i)}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"switch-label\",attrs:{\"data-enabled\":(\"\" + (item.enabled ? true : false)),\"data-cy\":((item.name) + \"Label\")}},[_vm._v(\" Enable \")])]},proxy:true}],null,true),model:{value:(item.enabled),callback:function ($$v) {_vm.$set(item, \"enabled\", $$v)},expression:\"item.enabled\"}})],1)],1)],1)]})],2)],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\nimport Vue from 'vue'\nimport Setting from '@/types/Setting.interface'\nexport default Vue.extend({\n data() {\n return {\n loaders: []\n }\n },\n computed: {\n inboxSettings(): Setting[] {\n // Grab our inbox settings\n return this.$store.getters.inboxSettings\n }\n },\n methods: {\n loading(idx: number) {\n // Check if the switch at index is loading\n const isLoading = this.loaders.includes(idx)\n\n return isLoading\n },\n description(setting: Setting): string {\n // Return the description of our setting\n return this.$store.getters.settingDescription(setting.name)\n },\n display(setting: Setting): string {\n // Return the display name of our setting\n return this.$store.getters.settingDisplay(setting.name)\n },\n async enable(bool: boolean, idx: number): Promise {\n // Change the enabled flag on our setting with this index\n this.inboxSettings[idx].enabled = bool\n\n // Grab this setting as our payload\n const payload = this.inboxSettings[idx]\n\n // Start the loading spinner\n this.loaders.push(idx)\n\n // Submit the changes to the API\n await this.$store.dispatch('settingsPut', payload)\n\n // Stop the loading spinner\n this.loaders.splice(this.loaders.indexOf(idx), 1)\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!./InboxSettings.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!./InboxSettings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InboxSettings.vue?vue&type=template&id=702ed6d5&scoped=true&\"\nimport script from \"./InboxSettings.vue?vue&type=script&lang=ts&\"\nexport * from \"./InboxSettings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InboxSettings.vue?vue&type=style&index=0&id=702ed6d5&scoped=true&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 \"702ed6d5\",\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 { 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 { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VRow,VSwitch})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pa-4\"},[_c('div',{staticClass:\"ma-8\"},[_c('v-row',{staticClass:\"justify-center align-center\",staticStyle:{\"font-family\":\"gt-alpina\",\"font-size\":\"32px\",\"line-height\":\"40px\",\"color\":\"#000000\"}},[_vm._v(\" \"+_vm._s(_vm.content.can_migrate_to_v2.title)+\" \")]),_c('v-row',{staticClass:\"mb-4 justify-center align-center\",staticStyle:{\"font-family\":\"sofia-pro\",\"font-size\":\"18px\",\"font-weight\":\"500\",\"line-height\":\"28px\",\"text-align\":\"left\",\"letter-spacing\":\"0.04em\",\"color\":\"#000000\"}},[_vm._v(\" \"+_vm._s(_vm.content.can_migrate_to_v2.description)+\" \")]),_c('v-row',{staticClass:\"mb-4\"},_vm._l((_vm.content.can_migrate_to_v2.sections),function(section,i){return _c('v-row',{key:i,staticStyle:{\"font-family\":\"sofia-pro\",\"font-size\":\"24px\",\"font-weight\":\"600\",\"line-height\":\"36px\",\"letter-spacing\":\"0.04em\",\"color\":\"#000000\"}},[_vm._v(\" \"+_vm._s(section.title)+\" \"),_vm._l((section.bullets),function(bullet,j){return _c('ul',{key:j,staticClass:\"pl-6\",staticStyle:{\"font-weight\":\"500\"}},[_c('li',[_vm._v(\" \"+_vm._s(bullet)+\" \")])])})],2)}),1),_c('v-row',{staticClass:\"mt-2 justify-center align-center\"},[_c('v-btn',{staticStyle:{\"border-radius\":\"8px\",\"border\":\"1px solid #6142B0\",\"background\":\"#6142B0\"},attrs:{\"color\":\"primary\",\"depressed\":\"\",\"height\":\"50px\",\"width\":\"160px\"},on:{\"click\":function($event){return _vm.waitListTypeForm()}}},[_c('b',[_vm._v(\"Join the Waitlist\")]),_c('v-icon',{staticClass:\"pl-1 pb-1\",attrs:{\"small\":\"\"}},[_vm._v(\" mdi-arrow-top-right-thin-circle-outline \")])],1)],1),_c('v-row',{staticClass:\"mt-2 justify-center align-center\"},[_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"height\":\"50px\",\"width\":\"160px\"},on:{\"click\":function($event){return _vm.learnMore()}}},[_c('b',[_vm._v(\"Learn More About 2.0\")])])],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\nimport Vue from 'vue'\nimport { mapGetters } from 'vuex'\nexport default Vue.extend({\n computed: {\n ...mapGetters(['authIsAdmin']),\n content() {\n return {\n // \n can_migrate_to_v2: {\n title: 'Version 2.0 of MessageDesk',\n description: 'Coming Summer 2024',\n sections: [\n {\n title: \"What’s Improved in 2.0\",\n bullets: [\n \"Totally rebuilt Mobile App experience\",\n \"Refined inbox experience\",\n \"Improved Message scheduling experience\",\n \"Multi-Workspace support\",\n \"10x improvements to speed, reliability and performance\"\n ]\n },\n {\n title: \"What’s new in 2.0\",\n bullets: [\n \"Add multiple phone numbers to 1 inbox\",\n \"Conversation labeling\"\n ]\n },\n {\n title: \"What’s launching in 2024\",\n bullets: [\n \"Relays: automation and workflow builder\",\n \"2-way chatbot\",\n \"Native integrations with popular applications\"\n ]\n }\n ],\n }\n }\n }\n },\n methods: {\n // Opens new window that takes user to the v2 marketing landing page \n learnMore(): void {\n window.open(\n 'https://www.messagedesk.com/version-2',\n this.$store.getters.isApp ? '_system' : '_blank'\n )\n },\n // Opens new window that takes user to v2 waitlist TypeForm\n waitListTypeForm(): void {\n window.open(\n 'https://messagedesk.typeform.com/to/QYVxapoP',\n this.$store.getters.isApp ? '_system' : '_blank'\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!./MigrationPopup.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!./MigrationPopup.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MigrationPopup.vue?vue&type=template&id=0b161a4e&scoped=true&\"\nimport script from \"./MigrationPopup.vue?vue&type=script&lang=ts&\"\nexport * from \"./MigrationPopup.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MigrationPopup.vue?vue&type=style&index=0&id=0b161a4e&scoped=true&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 \"0b161a4e\",\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 { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VIcon,VRow})\n","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!./MigrationPopup.vue?vue&type=style&index=0&id=0b161a4e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.mounted)?_c('page-template',{attrs:{\"with-slot\":\"\",\"toolbar\":_vm.toolbar}},[_c('i-list',{ref:\"settingsList\",attrs:{\"id\":\"settingsViewSettingsList\",\"items\":_vm.items,\"tile\":_vm.settingsTile()}})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport Button from '@/types/components/Button.interface'\nimport IListIcon, { IListIconType } from '@/types/components/IListIcon.interface'\nimport IListTile from '@/types/components/IListTile.interface'\nimport User from '@/types/User.interface'\nimport Vue from 'vue'\nexport default Vue.extend({\n data() {\n return {\n // Determines if we have finished mounting\n mounted: false,\n toolbar: { title: 'Settings' }\n }\n },\n async mounted() {\n // Check if the 'create' flag is set, AND the tenant does NOT have a data provider\n const needsProvider =\n this.$route.query.create && !this.$store.getters.tenant.data_provider\n\n // Check if the workspace flag is set\n const popWorkspace =\n this.$route.query.open && this.$route.query.open === 'workspace'\n\n // Check if the inbox flag is set\n const popInbox = this.$route.query.open && this.$route.query.open === 'inbox'\n\n // If the tenant needs a provider, go to dataprovider select\n if (needsProvider) this.dataProviderSelect()\n\n // If the tenant wants to open workspace, open it\n if (popWorkspace) this.openWorkspaceSettings()\n\n // If the tenant wants to open inbox settings, open it\n if (popInbox) this.openInboxSettings()\n\n // Set mounted to true now that we are done\n this.mounted = true\n },\n computed: {\n inboxSettingsEnabled(): boolean {\n return this.$store.getters.getEnabled('inbox_setting')\n },\n items(): Button[] {\n // Reference to our store function for checking user permissions\n const hasPermission = this.$store.getters.userHasPermission\n\n // Create our array of items\n const items = [\n {\n id: 0,\n text: 'Account and Phone Settings',\n icon: 'mdi-account-circle',\n callback: () => this.goToLink('/account'),\n disabledPopup: !hasPermission(0)\n },\n {\n id: 1,\n text: 'Subscription Settings',\n icon: 'mdi-ballot',\n callback: () => this.goToLink('/billing/subscription'),\n disabledPopup: !hasPermission(0),\n hidden: this.$store.getters.isApp || this.resellerBlock\n },\n {\n id: 2,\n text: 'Team',\n icon: 'mdi-contacts',\n callback: () => this.goToLink('/teammates')\n },\n {\n id: 3,\n text: 'Notification Settings',\n icon: 'mdi-bell',\n callback: () => this.goToLink('/notifications?settings=true'),\n disabledPopup: !hasPermission(0)\n },\n {\n id: 4,\n text: 'Inbox Settings',\n icon: 'mdi-inbox-full-outline',\n callback: () => this.openInboxSettings(),\n disabledPopup: !hasPermission(2),\n hidden: !this.inboxSettingsEnabled\n },\n {\n id: 5,\n text: 'Workspace Settings',\n icon: 'bi-gear-wide-connected',\n callback: () => this.openWorkspaceSettings(),\n disabledPopup: !hasPermission(2)\n },\n {\n id: 6,\n text: 'Import and Export Contacts',\n icon: 'mdi-database',\n callback: () => this.goToLink('/csv/import'),\n disabledPopup: !hasPermission(2),\n hidden: this.$store.getters.isMobile() || this.$store.getters.isApp\n },\n {\n id: 7,\n text: 'Compliance Settings',\n icon: 'mdi-message-lock',\n callback: () => this.goToLink('/opt'),\n disabledPopup: !hasPermission(2)\n },\n {\n id: 8,\n text: 'Message History',\n icon: 'mdi-table-large',\n callback: () => this.$router.push('/messages'),\n disabledPopup: !hasPermission(1),\n hidden: this.$store.getters.isMobile() || this.$store.getters.isApp\n },\n {\n id: 9,\n text: 'Message Signature',\n icon: 'bi-pen-fill',\n callback: () => this.goToLink('/signature'),\n disabledPopup: !hasPermission(1)\n },\n // {\n // id: 10,\n // text: 'Refer Friends, Get Rewards',\n // icon: 'bi-cash',\n // callback: () => this.goToLink('/referral')\n // },\n {\n id: 11,\n text: 'Plugins',\n icon: 'mdi-apps',\n callback: () => this.goToLink('/plugins'),\n disabledPopup: !hasPermission(1)\n },\n {\n id: 12,\n text: 'View Workspaces',\n icon: 'mdi-domain',\n callback: () => this.goToMemberships(),\n disabledPopup: !hasPermission(3) || !this.multitenantEnabled\n },\n {\n id: 13,\n text: 'Migrate To MessageDesk Verison 2',\n icon: 'mdi-folder-move',\n disabledPopup: !hasPermission(0),\n callback: () => this.migrateToV2()\n }\n ]\n\n // Filter out the hidden items and permission blocked items\n return items.filter((x: Button) => x.hidden !== true)\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 // Grab the user memberships\n const memberships = this.user.memberships\n\n // If they have more than 1, return true\n if (memberships.length > 1) return true\n\n // Else, default to false\n return false\n },\n resellerBlock(): boolean {\n // If we have no users, return false\n if (!this.$store.getters.users.length) return false\n\n // Grab the user's role\n const role = this.$store.getters.userRole(this.user)\n\n // If they are a support user, return false\n if (role.id > 4) return false\n\n // Else, get the admin user id\n const adminId = this.$store.getters.tenant.admin_user_id\n\n // If the current user is the admin, return false\n if (adminId === this.user.id) return false\n\n // Else, grab the admin user based on id\n const admin = this.$store.getters.users.find((x: User) => x.id === adminId)\n\n // Check if this admin is a reseller\n const reseller = admin.reseller\n\n // If the admin is NOT a reseller, return false\n if (!reseller) return false\n\n // Else, return true\n return true\n },\n user(): User {\n return this.$store.getters.user\n }\n },\n methods: {\n dataProviderSelect(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Choose Your Data Provider',\n icon: 'mdi-cable-data',\n color: 'primary',\n component: 'data-provider-popup',\n closeable: true\n })\n },\n goToLink(link: string): void {\n this.$router.push(link)\n },\n goToMemberships(): void {\n this.$store.commit('tenantSet', null)\n this.$router.push('/memberships')\n },\n goToDataProvider(item: Button): void {\n // Close the app dialog\n this.$store.dispatch('dialogClose', 'APP')\n\n // Determine which route to go to\n const route = item.text === 'QuickBooks Online' ? '/qbo' : '/csv/import'\n\n // Navigate to the proper route\n this.$router.push(route)\n },\n migrateToV2(): void {\n const canMigrateToV2 = this.$store.getters.settingGet('canMigrateToV2')\n\n // If user not allowed to migrate we offer them to join the waitlist instead\n if (!canMigrateToV2.enabled) {\n return this.popCannotMigrateToV2()\n }\n\n // Otherwise we navigate them to the migration page\n this.goToLink('/migration')\n },\n openInboxSettings(): void {\n // Check if we have access to inbox settings\n if (!this.inboxSettingsEnabled) return this.popInboxSettingsDisabled()\n\n // Else, pop our settings\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n icon: 'bi-gear-wide-connected',\n color: 'primary',\n component: 'inbox-settings',\n closeable: true\n })\n },\n openWorkspaceSettings(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n icon: 'bi-gear-wide-connected',\n color: 'primary',\n component: 'workspace-settings',\n closeable: true\n })\n },\n popCannotMigrateToV2(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n icon: 'mdi-folder-move',\n color: 'primary',\n component: 'migration-popup',\n width: '650px',\n closeable: true\n })\n },\n popInboxSettingsDisabled(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'FEATURE',\n paywall_type: 'access',\n metadata: 'inbox_setting_enabled'\n })\n },\n settingIcon(item: Button): IListIcon {\n // We will use the icon from our item\n const icon = item.icon\n\n // Check if we are disabled\n const disabled = item.disabledPopup\n\n // Color depends on if disabled or not\n const color = disabled ? 'rgba(0,0,0,0.26)' : 'primary'\n\n // Create our list icon\n const listIcon: IListIcon = {\n type: IListIconType.icon,\n content: icon,\n color: color\n }\n\n // Return our icon\n return listIcon\n },\n settingsTile(): IListTile {\n return {\n leftIcon: (item: Button): IListIcon => this.settingIcon(item),\n // img: (item) => item.img,\n line1: (item: Button): string => item.text,\n // method: 'goToLink'\n callback: (item: Button): void => item.callback()\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!./SettingsIndex.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!./SettingsIndex.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SettingsIndex.vue?vue&type=template&id=fe55f90c&\"\nimport script from \"./SettingsIndex.vue?vue&type=script&lang=ts&\"\nexport * from \"./SettingsIndex.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":""}