{"version":3,"sources":["webpack:///./src/components/ProgressSpinner.vue?0be7","webpack:///./src/components/ProgressSpinner.vue","webpack:///./src/components/ProgressSpinner.vue?16c0","webpack:///./src/components/ProgressSpinner.vue?1232","webpack:///./src/views/Sphere.vue?0811","webpack:///./src/components/SphereConnection.vue?0a1f","webpack:///./src/components/SphereConnection.vue","webpack:///./src/components/SphereConnection.vue?c6bc","webpack:///./src/components/SphereConnection.vue?fb71","webpack:///./src/views/Sphere.vue","webpack:///./src/views/Sphere.vue?b0c6","webpack:///./src/views/Sphere.vue?919c"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","style","imgTop","imgTopWidth","color","_v","_s","iconTop","_e","progress","percent","total","imgBottom","imgBottomWidth","iconBottom","message","class","staticRenderFns","Vue","extend","props","bind","type","String","required","default","imgTopStyle","imgBottomStyle","computed","$store","getters","component","VCol","VIcon","VImg","VProgressCircular","toolbar","scopedSlots","_u","key","fn","staticStyle","isApp","proxy","$images","brandLogoHorizontal","sphereLogo","connectionColor","isSphere","customerIdColor","model","value","callback","$$v","defaultId","expression","_l","item","i","editing","on","$event","preventDefault","save","directives","name","rawName","errors","collect","$set","loading","id","sphereCustomerIds","length","remove","add","components","ProgressSpinner","data","mapGetters","get","defaultItem","find","set","sphereIntegration","forEach","dispatch","map","x","integrations","integration","filter","methods","push","$forceUpdate","post","index","payload","enabled","$validator","validateAll","valid","update","VBtn","VDivider","VForm","VRadio","VRadioGroup","VRow","VTextField","SphereConnection","title","left","icon","back","tooltip","permission","feature","right"],"mappings":"0GAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,MAAQ,WAAW,CAAEP,EAAU,OAAEI,EAAG,QAAQ,CAACI,MAAOR,EAAe,YAAEO,MAAM,CAAC,IAAMP,EAAIS,OAAO,MAAQT,EAAIU,eA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A,KACA,KACA,MAIa,eAAiB,QAOhC,IAAkB,EAAW,CAACuF,WAAA,KAASvE,QAAA,KAAM2E,OAAA","file":"js/sphere.54fcbf61.js","sourcesContent":["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.imgTop)?_c('v-img',{style:(_vm.imgTopStyle),attrs:{\"src\":_vm.imgTop,\"width\":_vm.imgTopWidth}}):(_vm.iconTop)?_c('div',[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":_vm.color}},[_vm._v(\" \"+_vm._s(_vm.iconTop)+\" \")])],1):_vm._e(),(!_vm.progress)?_c('v-icon',{attrs:{\"color\":_vm.color,\"size\":50}},[_vm._v(\" mdi-sync \")]):_c('v-progress-circular',{attrs:{\"indeterminate\":!_vm.progress || _vm.progress.percent === 0 || _vm.progress.total === 999999,\"value\":_vm.progress && _vm.progress.percent,\"size\":50,\"width\":5,\"color\":_vm.color,\"rotate\":-90}},[(_vm.progress && _vm.progress.total == 999999)?_c('span',[_vm._v(\"IND\")]):(_vm.progress)?_c('span',[_vm._v(\" \"+_vm._s(_vm.progress.percent + '%')+\" \")]):_vm._e()]),(_vm.imgBottom)?_c('v-img',{style:(_vm.imgBottomStyle),attrs:{\"src\":_vm.imgBottom,\"width\":_vm.imgBottomWidth}}):(_vm.iconBottom)?_c('div',[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":_vm.color}},[_vm._v(\" \"+_vm._s(_vm.iconBottom)+\" \")])],1):_vm._e(),(_vm.progress && _vm.progress.message)?_c('div',{staticClass:\"mt-2\",class:(_vm.color + \"--text\")},[_vm._v(\" \"+_vm._s(_vm.progress.message)+\" \")]):_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\nimport Vue from 'vue'\nexport default Vue.extend ({\n props: {\n // The name of the vuex getter that holds progress data\n bind: {\n type: String,\n required: true\n },\n // The color of the circular spinner\n color: {\n type: String,\n default: 'primary'\n },\n // The icon displayed above the spinner\n iconTop: {\n type: String,\n default: null\n },\n // The icon displayed below the spinner\n iconBottom: {\n type: String,\n default: null\n },\n // The image displayed above the progress circular (overrides iconTop)\n imgTop: {\n type: String,\n default: null\n },\n // Style applied to the top image\n imgTopStyle: {\n type: String,\n default: null\n },\n // The width of the image displayed above the progress circular\n imgTopWidth: {\n type: String,\n default: '230px'\n },\n // The image displayed below the progress circular (overrides iconBottom)\n imgBottom: {\n type: String,\n default: null\n },\n // Style applied to the bottom image\n imgBottomStyle: {\n type: String,\n default: null\n },\n // The width of the image displayed below the progress circular\n imgBottomWidth: {\n type: String,\n default: '160px'\n }\n },\n computed: {\n progress(): object {\n return this.$store.getters[this.bind]\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!./ProgressSpinner.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!./ProgressSpinner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProgressSpinner.vue?vue&type=template&id=061bbe43&\"\nimport script from \"./ProgressSpinner.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProgressSpinner.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';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VCol,VIcon,VImg,VProgressCircular})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page-template',{attrs:{\"right-width\":\"40%\",\"toolbar\":_vm.toolbar},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"ma-8\"},[_c('v-row',{staticClass:\"mb-4\",attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":\"primary\"}},[_vm._v(\"mdi-message-question\")])],1),_c('v-row',{staticClass:\"mb-2\"},[_c('b',[_vm._v(\"Why Use MessageDesk Payments?\")])]),_c('v-row',{staticClass:\"grey--text text--darken-2\"},[_vm._v(\" MessageDesk payments allow you to send click-to-pay invoices directly to your contacts via text message. MessageDesk payments enable you to set up click-to-pay and click-to-donate campaigns directly in the app. \")]),_c('v-divider',{staticClass:\"my-4\"}),_c('v-row',{staticClass:\"mb-2\"},[_c('b',[_vm._v(\"How does MessageDesk Payments Work?\")])]),_c('v-row',{staticClass:\"grey--text text--darken-2\"},[_vm._v(\" MessageDesk has partnered with Sphere Commerce to enable users to send payment forms over SMS and MMS messages. To get started, you'll need to sign up for a Sphere Payments Merchant account. Once you submit your application, it will take 1-3 business days to get accepted. From here you'll have access to MessageDesk Payments. \")]),_c('v-divider',{staticClass:\"my-4\"}),_c('v-row',{staticClass:\"mb-2\"},[_c('b',[_vm._v(\"How do I set up a Merchant account with MessageDesk and Sphere?\")])]),_c('v-row',{staticClass:\"mb-4 grey--text text--darken-2\"},[_vm._v(\" Simply click below to start setting up your merchant account - be sure to choose the link that best fits your organization. \")]),_c('v-row',{staticClass:\"mb-2\",staticStyle:{\"display\":\"block\"}},[_vm._v(\" Run your business out of an office and deal with individual clients? Get started with MessageDesk payments \"),_c('a',{attrs:{\"href\":\"https://messagedesk-ps.spherechannels.com/\",\"target\":_vm.$store.getters.isApp ? '_system' : '_blank'}},[_vm._v(\"here\")]),_vm._v(\". \")]),_c('v-row',{staticClass:\"mb-2\",staticStyle:{\"display\":\"block\"}},[_vm._v(\" Is your truck your office or running multiple job sites? Then get started with our Field Service Payments \"),_c('a',{attrs:{\"href\":\"https://messagedesk-fs.spherechannels.com/\",\"target\":_vm.$store.getters.isApp ? '_system' : '_blank'}},[_vm._v(\"here\")]),_vm._v(\". \")]),_c('v-row',{staticClass:\"mb-2\",staticStyle:{\"display\":\"block\"}},[_vm._v(\" Managing a Nonprofit and looking for click-to-donate campaigns? Set up payments for your nonprofit \"),_c('a',{attrs:{\"href\":\"https://messagedesk-np.spherechannels.com/\",\"target\":_vm.$store.getters.isApp ? '_system' : '_blank'}},[_vm._v(\"here\")]),_vm._v(\". \")])],1)]},proxy:true}])},[_c('sphere-connection')],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:\"font-weight-bold\",attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('progress-spinner',{attrs:{\"bind\":'',\"img-top\":_vm.$images.brandLogoHorizontal,\"img-bottom\":_vm.$images.sphereLogo,\"img-bottom-width\":\"200px\",\"color\":\"primary\"}}),_c('v-divider'),_c('div',{staticClass:\"pa-4\"},[_c('div',[_vm._v(\" Connection Status: \")]),_c('div',{class:'font-weight-bold pt-2 ' + _vm.connectionColor},[_vm._v(\" \"+_vm._s(_vm.isSphere ? 'Connected' : 'Disconnected')+\" \")])]),_c('v-divider'),_c('div',{staticClass:\"pa-4\"},[_c('div',[_vm._v(\" Sphere Customer ID(s): \")]),_c('div',{staticClass:\"pt-2\",class:_vm.customerIdColor},[(_vm.sphereCustomerIds)?_c('div',[_c('v-radio-group',{model:{value:(_vm.defaultId),callback:function ($$v) {_vm.defaultId=$$v},expression:\"defaultId\"}},_vm._l((_vm.sphereCustomerIds),function(item,i){return _c('v-row',{key:i,staticStyle:{\"place-content\":\"center\"},attrs:{\"no-gutters\":\"\"}},[(!item.editing)?[_c('v-radio',{attrs:{\"disabled\":_vm.loading,\"value\":item.id}}),_c('span',{staticClass:\"pr-2\"},[_vm._v(_vm._s(item.id))]),_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\",\"color\":\"grey\"}},[_c('v-icon',{on:{\"click\":function($event){item.editing = true}}},[_vm._v(\"mdi-pencil \")])],1),_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\",\"color\":\"red\",\"disabled\":item.default && _vm.sphereCustomerIds.length > 1}},[_c('v-icon',{on:{\"click\":function($event){return _vm.remove(i)}}},[_vm._v(\" mdi-close\")])],1)]:[_c('v-form',{staticStyle:{\"width\":\"160px\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.save(i)}}},[_c('v-text-field',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric|min:1|max:9'),expression:\"'required|numeric|min:1|max:9'\"},{name:\"mask\",rawName:\"v-mask\",value:('#########'),expression:\"'#########'\"}],attrs:{\"width\":\"50px\",\"autofocus\":\"\",\"dense\":\"\",\"outlined\":\"\",\"label\":\"Customer ID\",\"name\":\"Sphere Customer ID\",\"error-messages\":_vm.errors.collect('Sphere Customer ID')},model:{value:(item.id),callback:function ($$v) {_vm.$set(item, \"id\", $$v)},expression:\"item.id\"}})],1),_c('div',{staticClass:\"pt-2 pl-2\"},[_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\",\"color\":\"primary\"}},[_c('v-icon',{on:{\"click\":function($event){return _vm.save(i)}}},[_vm._v(\" mdi-check\")])],1)],1)]],2)}),1)],1):_vm._e(),_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\",\"color\":\"primary\"}},[_c('v-icon',{on:{\"click\":function($event){return _vm.add()}}},[_vm._v(\"mdi-plus\")])],1)],1)],1)]),_c('v-divider',{staticClass:\"pb-4\"})],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\nimport { Integration } from '@/types/Tenant.interface'\nimport Vue from 'vue'\nimport ProgressSpinner from '@/components/ProgressSpinner.vue'\nimport { mapGetters } from 'vuex'\nexport default Vue.extend({\n components: { ProgressSpinner },\n data: () => ({\n loading: false\n }),\n computed: {\n ...mapGetters(['isSphere', 'integrations']),\n connectionColor(): string {\n return this.isSphere ? 'primary--text' : 'grey--text'\n },\n customerIdColor(): string {\n return this.isSphere ? 'primary--text' : 'grey--text'\n },\n defaultId: {\n get(): void {\n // Search the sphere_ids to find the default and return the id value\n const defaultItem = this.sphereCustomerIds.find(\n (item) => item.default === true\n )\n\n // If we found a default item, return it\n if (defaultItem) return defaultItem.id\n\n // Else, return null\n return null\n },\n set(value): void {\n if (value) {\n // Set the default sphere_id\n this.sphereIntegration.forEach((item) => {\n if (item.data.id === value) {\n item.data.default = true\n } else {\n item.data.default = false\n }\n\n // Save the setting\n this.$store.dispatch('integrationsPut', item)\n })\n }\n }\n },\n sphereCustomerIds(): Integration[] {\n // IF we have no integrations, return null\n if (!this.sphereIntegration || !this.sphereIntegration.length) return []\n\n // Return our integration data\n return this.sphereIntegration.map((x) => x.data)\n },\n sphereIntegration(): Integration {\n // If no integrations, return null\n if (!this.integrations) return null\n\n // Else, find our sphere integrations\n const integration = this.integrations.filter((x) => x.name === 'sphere')\n\n // Return our integrations\n return integration\n }\n },\n methods: {\n add(): void {\n // Push a new sphere_id to the array\n this.sphereCustomerIds.push({\n id: null,\n default: this.sphereCustomerIds.length == 0 ? true : false,\n editing: true\n })\n\n // We have to force update so the client reflects the changes\n this.$forceUpdate()\n },\n async post(index: number): Promise {\n // Create our payload (set editing to false so we close it)\n const payload = {\n name: 'sphere',\n enabled: true,\n data: { ...this.sphereCustomerIds[index], editing: false }\n }\n\n // Start the loading spinner\n this.loading = true\n\n // Create our integration\n await this.$store.dispatch('integrationsPost', payload)\n\n // Stop the loading spinner\n this.loading = false\n },\n async remove(index: number): Promise {\n // Get the integration id\n const id = this.sphereIntegration[index].id\n\n // Start the loading spinner\n this.loading = true\n\n // Save the integration\n await this.$store.dispatch('integrationsDelete', id)\n\n // Stop the loading spinner\n this.loading = false\n },\n async save(index: number): Promise {\n // Validate that all fields are filled\n const valid = await this.$validator.validateAll()\n\n // If invalid, do nothing\n if (!valid) return\n\n // If this index is > our integration length, we are posting a new one\n if (index >= this.sphereIntegration.length) this.post(index)\n // Else, update an existing\n else this.update(index)\n },\n async update(index: number): Promise {\n // Else, remove the 'editing' flag from the id\n this.sphereIntegration[index].data.editing = false\n\n // Start the loading spinner\n this.loading = true\n\n // Save the integration\n await this.$store.dispatch('integrationsPut', this.sphereIntegration[index])\n\n // Stop the loading spinner\n this.loading = false\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!./SphereConnection.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!./SphereConnection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SphereConnection.vue?vue&type=template&id=03dd8e57&\"\nimport script from \"./SphereConnection.vue?vue&type=script&lang=ts&\"\nexport * from \"./SphereConnection.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 { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDivider,VForm,VIcon,VRadio,VRadioGroup,VRow,VTextField})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 SphereConnection from '@/components/SphereConnection.vue'\nexport default Vue.extend({\n components: { SphereConnection },\n data() {\n return {\n toolbar: {\n title: 'Sphere',\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n back: '/settings',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ],\n right: []\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!./Sphere.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!./Sphere.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Sphere.vue?vue&type=template&id=f0892a22&\"\nimport script from \"./Sphere.vue?vue&type=script&lang=ts&\"\nexport * from \"./Sphere.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 { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VDivider,VIcon,VRow})\n"],"sourceRoot":""}