{"version":3,"sources":["webpack:///./src/views/Components/Company/PaymentPageSettings.vue","webpack:///src/views/Components/Company/PaymentPageSettings.vue","webpack:///./src/views/Components/Company/PaymentPageSettings.vue?8828","webpack:///./src/views/Components/Company/PaymentPageSettings.vue?562a","webpack:///./src/views/Components/Company/PaymentPageSettings.vue?57ae"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","attrs","patientPortalUrl","directives","name","rawName","value","doUpdatePatientHostName","expression","arg","on","$event","isLetter","model","patientHostName","callback","$$v","copy","patientHostLoading","staticStyle","qrCode","preventDefault","downloadQrCode","apply","arguments","submit","paymentPageAutoAssociatePatients","ref","scopedSlots","_u","key","fn","_ref","handleSubmit","submitNote","paymentPageNoteLabel","paymentPageNoteDetail","paymentPageRequireNote","staticRenderFns","components","BaseTextArea","props","company","bindPaymentPageSettings","updatePaymentPageSettings","updatePatientHostName","sendPaymentPageEmail","data","email","more","local_saved","mounted","_mounted","_asyncToGenerator","regeneratorRuntime","mark","_callee","r","wrap","_context","prev","next","sent","stop","methods","link","document","createElement","body","appendChild","setAttribute","click","e","char","String","fromCharCode","keyCode","test","_this","text","navigator","clipboard","writeText","then","$emitter","emit","message","err","_submitNote","_callee2","_context2","_doUpdatePatientHostName","_callee3","_context3","noProgress","companyId","id","isSuccess","_submit","_callee4","_context4","abrupt","sendEmailSubmit","_sendEmailSubmit","_callee5","saved","_context5","component"],"mappings":"mJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,SAAS,CAACE,YAAY,oBAAoB,CAACF,EAAG,KAAK,CAACF,EAAIM,GAAG,0BAA0BJ,EAAG,IAAI,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,8FAA8FJ,EAAG,gBAAgB,CAACE,YAAY,OAAOG,MAAM,CAAC,Q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C,KAAA,WACAC,QAAA,+CAEA,wBAAAoB,EAAA3C,UAAAyC,EAAA,mBAXAF,IAAA,OAAAC,EAAAhF,MAAA,KAAAC,WAAA,OAAA8E,EAAA,KCzR0X,I,wBCQtXK,EAAY,eACd,EACAlH,EACA6C,GACA,EACA,KACA,WACA,MAIa,aAAAqE,E,oECnBf","file":"js/Components-Company-PaymentPageSettings-vue.428a4a63.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row p-1\"},[_vm._m(0),_c('div',{staticClass:\"col-7 pl-6\"},[_c('b-card',{staticClass:\"border shadow-sm\"},[_c('h3',[_vm._v(\"Branded Payment Page\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"\\n Please enter the name you would like to use for your payment page URL.\\n \")]),_c('b-input-group',{staticClass:\"mt-3\",attrs:{\"prepend\":_vm.patientPortalUrl + '/'}},[_c('b-form-input',{directives:[{name:\"debounce\",rawName:\"v-debounce:300ms\",value:(_vm.doUpdatePatientHostName),expression:\"doUpdatePatientHostName\",arg:\"300ms\"}],attrs:{\"rules\":\"required\",\"name\":\"Host Name\"},on:{\"keypress\":function($event){return _vm.isLetter($event)}},model:{value:(_vm.patientHostName),callback:function ($$v) {_vm.patientHostName=$$v},expression:\"patientHostName\"}}),_c('b-input-group-append',[_c('b-button',{staticClass:\"btn-outline-primary shadow-none\",attrs:{\"type\":\"button\",\"id\":\"copy-button\",\"data-placement\":\"button\"},on:{\"click\":_vm.copy}},[_vm._v(\"Copy\")])],1)],1),_c('div',{staticClass:\"light-alert mb-0 mt-4\"},[_c('i',{staticClass:\"fa-solid fa-triangle-exclamation\"}),_vm._v(\"Changing the payment\\n page URL will result in the old link no longer working.\\n \")]),_c('p',{staticClass:\"text-muted pt-4\"},[_vm._v(\"\\n Download and place this QR code on statements, web pages, or any other\\n source you'd like to link to your branded payment page.\\n \")]),(_vm.patientHostLoading)?_c('div',{staticClass:\"d-flex align-items-center justify-content-center\",staticStyle:{\"width\":\"160px\",\"height\":\"160px\"}},[_c('loading-svg',{attrs:{\"width\":50,\"height\":50}})],1):_c('div',[_c('img',{staticStyle:{\"width\":\"160px\"},attrs:{\"src\":_vm.qrCode}}),_c('br'),_c('br')]),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.downloadQrCode.apply(null, arguments)}}},[_c('i',{staticClass:\"fa-solid fa-cloud-arrow-down\"}),_vm._v(\"  Download\")])],1),_c('b-card',{staticClass:\"border shadow-sm\"},[_c('h3',[_vm._v(\"Auto Association\")]),_c('p',{staticClass:\"text-muted\",staticStyle:{\"max-width\":\"550px\"}},[_vm._v(\"\\n Automatically post the payment to the patient's ledger if Crown is\\n able to match the information submitted.\\n \")]),_c('b-form-checkbox',{staticClass:\"pb-3\",attrs:{\"switch\":\"\",\"size\":\"lg\"},on:{\"change\":() => {\n _vm.submit();\n }},model:{value:(_vm.paymentPageAutoAssociatePatients),callback:function ($$v) {_vm.paymentPageAutoAssociatePatients=$$v},expression:\"paymentPageAutoAssociatePatients\"}})],1),_c('b-card',{staticClass:\"border shadow-sm\"},[_c('validation-observer',{ref:\"formValidator\",scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('b-form',{attrs:{\"role\":\"form\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submitNote)}}},[_c('h3',{staticClass:\"pb-0 mb-0\"},[_vm._v(\"Custom Field\")]),_c('p',{staticClass:\"text-muted pb-4\",staticStyle:{\"max-width\":\"550px\"}},[_vm._v(\"\\n Customize a field on your payment form that will help collect\\n specific information to identify better who or what this payment\\n is for.\\n \")]),_c('base-input',{attrs:{\"rules\":\"required\",\"name\":\"Title\",\"label\":\"Field Title\"},model:{value:(_vm.paymentPageNoteLabel),callback:function ($$v) {_vm.paymentPageNoteLabel=$$v},expression:\"paymentPageNoteLabel\"}}),_c('base-text-area',{attrs:{\"name\":\"Description\",\"label\":\"Field Description\",\"rows\":\"3\"},model:{value:(_vm.paymentPageNoteDetail),callback:function ($$v) {_vm.paymentPageNoteDetail=$$v},expression:\"paymentPageNoteDetail\"}}),_c('h4',{staticClass:\"pb-0 mb-0\"},[_vm._v(\"Require Field\")]),_c('p',{staticClass:\"text-muted\",staticStyle:{\"max-width\":\"550px\"}},[_vm._v(\"\\n Require that this field cannot be left blank.\\n \")]),_c('b-form-checkbox',{staticClass:\"pb-3\",attrs:{\"switch\":\"\",\"size\":\"lg\"},model:{value:(_vm.paymentPageRequireNote),callback:function ($$v) {_vm.paymentPageRequireNote=$$v},expression:\"paymentPageRequireNote\"}}),_c('b-button',{staticClass:\"mt-3\",attrs:{\"type\":\"submit\",\"block\":\"\",\"variant\":\"primary\"}},[_vm._v(\"\\n Save Custom Field\\n \")])],1)]}}])})],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-5\"},[_c('h2',[_vm._v(\"Payment Page\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"\\n An online payment form is an excellent way to give your patients the\\n ability to self-service an outstanding balance. Link to a branded\\n payment page or embed the payment form directly on your website.\\n \")]),_c('h3',[_vm._v(\"How it works\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"\\n Patients will complete the payment; if we match enough details to a\\n patient's profile in your practice management system, we'll\\n automatically post the payment to the patient ledger.\"),_c('br'),_c('br'),_vm._v(\"If\\n Crown is uncertain which patient the payment was for, the practice will\\n be notified via email and the Crown dashboard. From the dashboard you'll\\n be able associate the payment to the desired patient.\\n \")])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentPageSettings.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentPageSettings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PaymentPageSettings.vue?vue&type=template&id=2b6c2ed0&scoped=true\"\nimport script from \"./PaymentPageSettings.vue?vue&type=script&lang=js\"\nexport * from \"./PaymentPageSettings.vue?vue&type=script&lang=js\"\nimport style0 from \"./PaymentPageSettings.vue?vue&type=style&index=0&id=2b6c2ed0&prod&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 \"2b6c2ed0\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.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!./PaymentPageSettings.vue?vue&type=style&index=0&id=2b6c2ed0&prod&scoped=true&lang=css\""],"sourceRoot":""}